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

Update .npmignore and .gitignore #18

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

friederbluemle
Copy link
Contributor

Use the files array in package.json to explicitly include files to be distributed.
This leads to a small size reduction of the archive (by excluding unnecessary files like .eslintrc, .flowconfig etc), as well as removes any possibility of accidentally including build output.

Also set type declarations to the already existing file index.d.ts:

"types": "index.d.ts"

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.

1 participant