• 0

How to include all files with npm publish?

You can specify which files and directory to include using files property in the package.json.

https://docs.npmjs.com/files/package.json#files

npm publish includes files and directory specified in there.