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 a .npmignore file #398

Open
NGMarmaduke opened this issue Nov 16, 2017 · 0 comments
Open

Add a .npmignore file #398

NGMarmaduke opened this issue Nov 16, 2017 · 0 comments

Comments

@NGMarmaduke
Copy link
Contributor

We should exclude unnecessary files from the published NPM bundle.

Initial thoughts would be to exclude:

  • .storybook
  • scripts
  • server
  • styleguide
  • travis
  • *.test.js
  • *.story.js

As well as all the things in the Git ignore.

Reference: https://docs.npmjs.com/misc/developers#keeping-files-out-of-your-package

Thanks to @rdjpalmer for the heads up on this one

@NGMarmaduke NGMarmaduke changed the title Add a .npmignore file Add a .npmignore file Nov 16, 2017
@farazcsk-zz farazcsk-zz mentioned this issue Nov 22, 2017
3 tasks
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

No branches or pull requests

1 participant