Skip to content

Commit

Permalink
Making the default case for the dependencies be more dynamic.
Browse files Browse the repository at this point in the history
  • Loading branch information
Zoramite committed Apr 11, 2012
1 parent db9b2bf commit 4c1afb2
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions bin/express
Expand Up @@ -315,9 +315,10 @@ function createApplicationAt(path) {
case 'less':
pkg.dependencies['less-middleware'] = '*';
break;
case 'stylus':
pkg.dependencies['stylus'] = '*';
break;
default:
if(program.css) {
pkg.dependencies[program.css] = '*';
}
}

write(path + '/package.json', JSON.stringify(pkg, null, 2));
Expand Down

0 comments on commit 4c1afb2

Please sign in to comment.