.npmignore是干嘛的?
- https://www.npmjs.org/doc/developers.html#Keeping-files-out-of-your-package
- https://www.npmjs.org/doc/json.html
You can also provide a ".npmignore" file in the root of your package, which will keep files from being included, even if they would be picked up by the files array. The ".npmignore" file works just like a ".gitignore".