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

Don't publish tests to npm #46

Merged
merged 2 commits into from
Nov 25, 2013
Merged

Don't publish tests to npm #46

merged 2 commits into from
Nov 25, 2013

Conversation

Frost
Copy link
Contributor

@Frost Frost commented Nov 25, 2013

When publishing to npm, it's unnecessary to publish all 19 MB of test files.

Sure, tests are nice, but when installing a library I don't expect to run all tests on it. If I discover a bug in it, I clone it from the repo, and run the tests there.

Having to download almost 20 megs of stuff I will never use seems a bit excessive.

Comparatively, the footprint in my node_modules for express is around 640k.

When publishing to npm, it's unnecessary to publish all 19 MB of test files.
mattjohnsonpint added a commit that referenced this pull request Nov 25, 2013
Don't publish tests to npm
@mattjohnsonpint mattjohnsonpint merged commit a522069 into moment:master Nov 25, 2013
@mattjohnsonpint
Copy link
Contributor

Thanks!

@Frost
Copy link
Contributor Author

Frost commented Jan 8, 2014

No problems. Is there a new release planned somewhere soon btw, so this actually ends up on npmjs.org?

@mattjohnsonpint
Copy link
Contributor

There will be a new release of moment-timezone soon, yes. Sometime in the next few days. Thanks.

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