Skip to content

Add a .npmignore file #398

Description

@NGMarmaduke

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions