quaertym / ember-cli-dependency-checker

Ember CLI addon for checking missing node and bower dependencies before running ember commands
MIT License
40 stars 37 forks source link

Ignore devDependencies when deployed to "production" ? #27

Closed foxtree closed 9 years ago

foxtree commented 9 years ago

Could this be done, possibly, by altering line 90 of dependency-checker.js as follows?

  var dependencies = this.project.dependencies(undefined,process.env.NODE_ENV==='production');
stefanpenner commented 9 years ago

i hope you are not deploying ember-cli to production

quaertym commented 9 years ago

@foxtree This addon should be used on the development or test machine, deploying it to production server has no meaning.