Skip to content
Myr

added devDependencies to generated package.json

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

authored by Tj Holowaychuk · committed by Tj Holowaychuk · parent b67bace · Browse files · 1 file+9 added−7 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+9 added−7 removed

  • other:+9 added−7 removed

1 file+9 added−7 removed

modified:bin/express+9 added-7 removed
346 unmodified lines
347 var json = '{\n';348 json += ' "name": "application-name"\n';349 json += ' , "version": "0.0.1"\n';350 json += ' , "private": true\n';351 if (cssEngine || templateEngine) {352 json += ' , "dependencies": {\n';353 json += ' "express": "' + version + '"\n';354 if (cssEngine) json += ' , "' + cssEngine + '": ">= 0.0.1"\n';355 if (templateEngine) json += ' , "' + templateEngine + '": ">= 0.0.1"\n';356 json += ' }\n';357 }351 json += ' , "dependencies": {\n';352 json += ' "express": "' + version + '"\n';353 if (cssEngine) json += ' , "' + cssEngine + '": ">= 0.0.1"\n';354 if (templateEngine) json += ' , "' + templateEngine + '": ">= 0.0.1"\n';355 json += ' }\n';356 json += ' , "devDependencies": {\n'357 json += ' "expresso": "0.7.x"\n';358 json += ' }\n';359 json += '}';360361362 write(path + '/package.json', json);363 write(path + '/app.js', app);364 });365}
87 unmodified lines