dominictarr / through

simple way to create a ReadableWritable stream that works
Other
669 stars 64 forks source link

Reduce the size of the npm package by limiting the included files #50

Closed paazmaya closed 5 years ago

paazmaya commented 5 years ago

Looks like the files property (https://docs.npmjs.com/files/package.json#files) is not used in package.json to specify the included files, nor is the .npmignore file (https://docs.npmjs.com/misc/developers#keeping-files-out-of-your-package) is being used for blacklisting unwanted files, for the package published to npm.

Would you consider adding either the files property or the .npmignore file, so that the resulting package file would have smaller size?

The current size can be seen when executing the command npm pack (https://docs.npmjs.com/cli/pack).

This issue was create via tawata

dominictarr commented 5 years ago

please do not use a bot to tell me that my modules could have some tests files removed. I don't care. I like having tests in my module. I wrote hundreds of modules like this, I've got much better things to do than make tiny changes and the module already works just fine. ps. same here as with json-buffer