qunitjs/node-qunit

Consider adding .npmignore file

Closed this issue · 4 comments

Hey,

I am a happy user of your library, but as my project grows we have a lot of dependencies.
We could save a lot of space if you added .npmignore file to your project.

I even found tool that can help you with it: https://github.com/inikulin/dmn

Thanks!

@hakubo specifically- you don't want the test directory in your node_modules?

kof commented

I am not sure which files and folders need to be ignored.

  1. I never run into the issue with space
  2. Sometimes its convenient to read docs or run tests directly in the installed package
  3. Some packages even run some tests after installation
kof commented

maybe we need a tool to clean up packages after installation for this ... f.e. when installing in production env.

kof commented

dunno what to do here, @hakubo feel free to reopen if you want to share more insights.