bent icon indicating copy to clipboard operation
bent copied to clipboard

Create .npmignore

Open maxblome opened this issue 5 years ago • 1 comments

Added .npmignore to remove unnecessary files when publishing to npm.

This halves the package size.

maxblome avatar Oct 20 '20 07:10 maxblome

Disclaimer: I'm a newb to npm/node

I read that .npmignore misleadingly replaces .gitignore. If so, perhaps the other items should be added (shown below) and a disclaimer should be placed in each file indicating to cross update each other.

.nyc_output
coverage
.DS_Store
yarn.lock

MatthewScholefield avatar Nov 26 '20 01:11 MatthewScholefield