Add "files" to package.json
Only the files/folders listed will be included in the package published to NPM (along with package.json
and README.md
).
This makes it easier to not publish additional files by mistake, and reduces the size of the package by not including material that's not needed for using it.