Skip to content
Myr

refactoring

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 5be2395 · Browse files · 1 file+3 added−2 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+3 added−2 removed

  • other:+3 added−2 removed

1 file+3 added−2 removed

modified:bin/express+3 added-2 removed
6 unmodified lines
7var exec = require('child_process').exec8 , program = require('commander')9 , mkdirp = require('mkdirp')10 , pkg = require('../package.json')11 , version = pkg.version12 , os = require('os')13 , fs = require('fs');1415// CLI1617program17 .version(pkg.version)18 .version(version)19 .option('-s, --sessions', 'add session support')20 .option('-e, --ejs', 'add ejs engine support (defaults to jade)')21 .option('-J, --jshtml', 'add jshtml engine support (defaults to jade)')22 .option('-c, --css <engine>', 'add stylesheet <engine> support (less|stylus) (defaults to plain css)')
281 unmodified lines
304 , version: '0.0.1'305 , private: true306 , scripts: { start: 'node app' }307 , dependencies: {307 express: pkg.version308 express: version309 }310 }311312 if (program.template) pkg.dependencies[program.template] = '*';
68 unmodified lines