Skip to content
Myr

Making the default case for the dependencies be more dynamic.

Before adoption: this commit came in with the history the project adopted, so no landing records it.

authored by Randy Merrill · committed by Randy Merrill · parent db9b2bf · Browse files · 1 file+4 added−3 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

1 file+4 added−3 removed

  • other:+4 added−3 removed

1 file+4 added−3 removed

modified:bin/express+4 added-3 removed
313 unmodified lines
314 switch (program.css) {315 case 'less':316 pkg.dependencies['less-middleware'] = '*';317 break;318 case 'stylus':319 pkg.dependencies['stylus'] = '*';320 break;318 default:319 if(program.css) {320 pkg.dependencies[program.css] = '*';321 }322 }323324 write(path + '/package.json', JSON.stringify(pkg, null, 2));325 write(path + '/app.js', app);
54 unmodified lines