Closed brandonparsons closed 8 years ago
@GavinJoyce hmmm - I specifically put that as --save-dev
as it is customary for Ember add ons to go into devDependencies
. Your thoughts?
@brandonparsons I believe that we should use --save
as this is a run time dependency for an app, not a build time dependency. https://ozthegreat.io/wordpress/stop-using-npm-wrong-save-dev
@GavinJoyce The majority of ember addons use devDependencies
, probably because ember cil is responsible for packaging the runtime files from the addons. I'm certainly not that knowledgable on this front however.
For example - note that the ember install
command from ember cli uses --save-dev
: https://github.com/ember-cli/ember-cli/blob/master/lib/commands/install-npm.js#L19
@brandonparsons TIL, thanks for the explanation. Perhaps we should use ember install
?
oh, it's being removed too. merging, thanks
np :)
Thanks, I've just added one small suggestion