cloudflare / react-modal2

:thought_balloon: Simple modal component for React.
BSD 3-Clause "New" or "Revised" License
279 stars 16 forks source link

Add "files" key to package.json #7

Closed hawkrives closed 8 years ago

hawkrives commented 8 years ago

I only listed index.js, because according to https://docs.npmjs.com/files/package.json:

Certain files are always included, regardless of settings:

  • package.json
  • README (and its variants)
  • CHANGELOG (and its variants)
  • LICENSE / LICENCE

(closes #6)

jamiebuilds commented 8 years ago

I actually prefer to use .npmignore because it's easy to forget about this and if you add new files it can be easy to create broken releases.

hawkrives commented 8 years ago

Will do. I'll update this shortly.

hawkrives commented 8 years ago

I've now edited this to use .npmignore.

jamiebuilds commented 8 years ago

Thanks