package.json minifier usage: npx package.json-minifier it will minify the package.json file info dist/package.json. files field will be removed because it assumes every required files will be copied into dist/ directory.