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 files to package.json #21

Merged
merged 1 commit into from Oct 18, 2016
Merged

Conversation

kentcdodds
Copy link
Contributor

@kentcdodds kentcdodds commented Oct 14, 2016

If you look here you'll notice that there are several files included with this package on the registry that don't need to be. This causes npm installs of this module to result in downloading more than necessary.

By adding this files array to package.json you can specifically list the files that are important for people to download for your module. By default, npm will also include README and LICENSE files as well.

@coveralls
Copy link

coveralls commented Oct 14, 2016

Coverage Status

Coverage remained the same at 95.588% when pulling 6248414 on kentcdodds:patch-1 into 5511994 on davidkalosi:master.

@kentcdodds
Copy link
Contributor Author

Oh, and you can test this locally by running npm pack and opening up the resulting zip file.

@davidkalosi davidkalosi merged commit 91f35ee into davidkalosi:master Oct 18, 2016
@davidkalosi
Copy link
Owner

Thanks for the PR, will release an updated npm package later this day

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.

None yet

3 participants