项目作者: vijaysutrave

项目描述 :
Reduce install times on production, clean up package json
高级语言: JavaScript
项目地址: git://github.com/vijaysutrave/clean-package-json.git
创建时间: 2017-08-27T20:45:17Z
项目社区:https://github.com/vijaysutrave/clean-package-json

开源协议:MIT License

下载


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