clean-package-json

1.0.3 • Public • Published

Clean up your package.json

Reduce install times on production, clean up package json

  • Removes duplicate dependencies from code
  • Removes wildcard from version numbers, locks versions
  • Sorts the dependencies in alphabetical order
  • Suggests moving packages to devDependencies
  • Prettifies your package.json

Reduce install times on production, clean up package json

Install

npm install -g clean-package-json

Options

--lock Remove the ^ wildcard from version

--yarn Use yarn instead of npm to install dependencies

Todo

  • Show unused packages
  • Tests

License

MIT © vijaysutrave

Package Sidebar

Install

npm i clean-package-json

Weekly Downloads

1

Version

1.0.3

License

MIT

Last publish

Collaborators

  • vijaysutrave