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

Whitelist npm package files #47

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

Conversation

MatthiasKunnen
Copy link

The npm package currently contains the following files:

├── app
│   ├── cmd.js
│   ├── index.js
│   ├── overwrite.js
│   └── visit.js
├── .editorconfig
├── .eslintrc
├── index.js
├── LICENSE
├── package.json
├── README.md
├── tests
│   ├── cmd.js
│   ├── overwrite.js
│   └── visit.js
└── .travis.yml

Files such as tests/*, .editorconfig, and.eslintrc do not serve a purpose for consumers of the package while increasing package size. Therefore, I've whitelisted the files that are required for the package to run.

index.js, README.md and LICENSE are included by default. Test using npm pack.

README.md and LICENSE are included by default. Test using `npm pack`.
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

1 participant