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

npm ignore the tests #47

Closed
wants to merge 1 commit into from
Closed

npm ignore the tests #47

wants to merge 1 commit into from

Conversation

untra
Copy link

@untra untra commented Oct 19, 2017

With this .npmignore, the test directory won't be included with the vendor dependencies, reducing the size of the module when used by other projects. Pretty cool, huh?

@mcollina
Copy link
Collaborator

Thanks, but we believe that tests are a primary form of documentation, and they should be released with the library. This is not a lot of data, gzipped.

@mcollina mcollina closed this Oct 19, 2017
@untra
Copy link
Author

untra commented Oct 19, 2017

Sure, it's not a lot of code. But bytes can add up. And if someone is using your library, can't they just look at the tests on github?

The real reason I made this PR is because we are trying to scrub our codebase of all instances of any md5 hashing, and the tests include md5 hashes. While the tests are not being invoked, the md5 invocations are still there.

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

Successfully merging this pull request may close these issues.

2 participants