Skip to content

Commit

Permalink
only install production dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
Jeff Escalante committed May 16, 2016
1 parent 3b5c665 commit c008c54
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/template.js
Original file line number Diff line number Diff line change
Expand Up @@ -270,7 +270,7 @@ function createTargetDirectory (target) {
function installDependenciesIfPresent () {
if (!fs.existsSync(path.join(this.path, 'package.json'))) { return }
this.sprout.emit('msg', 'installing npm dependencies')
return exec('npm install', { cwd: this.path })
return exec('npm install --production', { cwd: this.path })
}

function loadConfigFile () {
Expand Down

0 comments on commit c008c54

Please sign in to comment.