jsonlint
jsonlint copied to clipboard
Please .npmignore anything that's not needed for production
I'm pretty sure tests are not needed in production. :) They just bloat project dependencies, install time, use bandwidth, etc.
You could either use the package.json files property to whitelist files for production or .npmignore to blacklist unneeded ones.
For more info on .npmignore and an automatic generator see https://github.com/inikulin/dmn
I needed some bugfixes and extensions to jsonlint and did them in my fork. I released the changes as a new NPM module @prantlf/jsonlint. Removing unnecessary content from the NPM package was one of them.