Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add a .npmignore file to prevent useless stuff from getting in the npm distro #1849

Closed
balupton opened this issue Nov 28, 2012 · 1 comment
Closed

Comments

@balupton
Copy link

Things like the tests, docs, examples, etc are not required for the npm distribution, and thus only add to the weight of the module without any use. It would be nice if these were included in a .npmignore file - see https://npmjs.org/doc/developers.html#Keeping-files-out-of-your-package

In fact, for backbone the only useful files are the license, readme, package.json and backbone.js - all the rest can be added to the .npmignore file.

@jashkenas
Copy link
Owner

Thanks. I always forget about invisible files.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants