Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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

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)