Have you ever wondered why we have so many package managers? NPM, Bower, Component. Why don’t we just pick one? Well, after much deliberation with developers like you, I’ve decided to support the idea that NPM might just be able to handle it all.
The hurdle, as you know, is the inexorable cruft. Not only do we like maintaining our own folder structures, but we don’t really want to make the node_modules folder public. And, man, if we follow Addy’s advice and check in all of our front-end dependences, do we really have to commit all that? That’s one huge package, as it were.
Enter grunt-npmcopy. It’s NPM on the front-end without the cruft.
- Use the same package manager for both the front-end and back-end.
- Place all of your front-end dependencies where you want them. JS in the
/js folder, CSS in the
/css folder, images in the
- Track your front-end dependencies without committing node modules.
Let me know what you think.