Packages in npm are bloated with stuff which you will never ever use, like build files and different kinds of test data. Guys from npm provided us with .npmignore files, but seems like almost no one uses it. Please, stop publishing your development stuff to npm. If I would like to run your tests and start hacking on your project I will do git clone not npm install. Once our project has increased in size in 13Mb and this is just because of single test data file which was used by one of our dependencies (true story). Poor testing farm...
So:
npm then bloated dependencies make you unhappy.npm and e.g. TravisCI. Imagine how thousands of small useless files impacts installation time of your package.node_modulesfrom stuff which you will never need. And it can gracefully generate .npmignore file for your project.Please, stop publishing your development stuff to
npm.