Closed alienlebarge closed 8 years ago
Why is Grunt specified under peerDependencies and devDependencies in package.json? I was under the impression that only one was necessary, in this case probably peer.
devDependencies will install when you run npm install from the project folder but not when a user installs the module. peerDependencies will only display an error if you try installing a plugin with an incompatible version of grunt. If grunt was only listed under peerDependencies it wouldn't get installed when we do npm install to test and develop on.
http://blog.nodejs.org/2013/02/07/peer-dependencies/
– https://github.com/gruntjs/grunt-contrib-compass/issues/85
See what the difference between
devDependencies
andpeerDependencies
. Use only what we need.