At the moment npm package includes folders testdata and examples, files screenshot.png, test.js, test-helpers.js and .eslintrc.js. These files/fodlers are unnecessary for the app work therefore we should exclude them.
We can use files property in package.json or .npmignore file.
At the moment npm package includes folders
testdata
andexamples
, filesscreenshot.png
,test.js
,test-helpers.js
and.eslintrc.js
. These files/fodlers are unnecessary for the app work therefore we should exclude them. We can usefiles
property in package.json or.npmignore
file.