Meteor-Community-Packages / meteor-postcss

PostCSS for Meteor

Home Page:

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

In meteor 1.3 beta, why npm stored in npm devDependencies not in dependencies?

khaledkbadr opened this issue · comments

I've notices in the package.json sample you provided in the README, npm dependencies is stored in using npm ...--save-dev, is there a reason for that?. And if I had NODE_ENV to be production would it fail?

Here is a very good explanation:
... in this particular case this isn't so important, but all that postcss plugins are actually dev dependencies so I think this is the place for them.

First you need to run npm install anyway, so there is no difference if you run Meteor with NODE_ENV in production it will already have all dependencies installed.