1.0.3 • Published 7 years ago

clean-package-json v1.0.3

Weekly downloads
18
License
MIT
Repository
github
Last release
7 years ago

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