gruntjs/grunt-contrib-clean

grunt dependency in both devDependencies and peerDependencies

ducin opened this issue · 1 comments

I saw the package.json file in this grunt task repo, that it has dependency on grunt that is stated in both sections: devDependencies and peerDependencies: https://github.com/gruntjs/grunt-contrib-clean/blob/master/package.json#L25-L34

Does that make any sense? Especially, that there are different versions stated? Is it an unnoticed mistake?

I also asked about that at stack overflow, but got no answers.

Read up on the difference of devDependencies and peerDependencies. The devDep is for the actual grunt dep we use for testing and the peerDep is for noting which grunt version the plugin works with. Both resolve to the same version.