Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/vijaysutrave/clean-package-json
Reduce install times on production, clean up package json
https://github.com/vijaysutrave/clean-package-json
dependencies npm package-json
Last synced: 1 day ago
JSON representation
Reduce install times on production, clean up package json
- Host: GitHub
- URL: https://github.com/vijaysutrave/clean-package-json
- Owner: vijaysutrave
- License: mit
- Created: 2017-08-27T20:45:17.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2018-06-12T18:54:24.000Z (over 6 years ago)
- Last Synced: 2024-12-13T23:46:39.488Z (27 days ago)
- Topics: dependencies, npm, package-json
- Language: JavaScript
- Size: 6.84 KB
- Stars: 6
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# 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](http://vijaysutrave.com/clean-package-json-full.png)
### 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](https://github.com/vijaysutrave)