wow0000 / nodeshout-napi

Native libshout bindings for newer node
0 stars 3 forks source link

Whitelist necessary files for package #3

Closed Snack-X closed 1 year ago

Snack-X commented 3 years ago

By default, npm publish will pack all files which is not listed on .gitignore, which includes almost a megabyte of music files and documentation file.

This PR add files section to the package.json file, which limits files to be published.

By running npm pack, you can check the list of files to be packed and published.