CLI tool written in Go to review and update your NPM dependencies, easy and fast.
Features
package.json
file before updating, ensuring you always have a fallback option if something goes wrong.Usage
Go where your package.json
is located and run:
up-npm
or
up-npm [flags]
Flag | Description |
---|---|
-d, --dev | Include dev dependencies |
-f, --filter string | Filter dependencies by package name |
--allow-downgrade | Allows downgrading a if latest version is older than current |
-h, --help | Display help information for up-npm |
-v, --version | Display the version number for up-npm |
Examples
# Update dependencies
npm-up
# Including dev dependencies
npm-up --dev
npm-up -d
# Update only packages containing "lint"
npm-up -filter lint
npm-up -f lint
Build yourself
task buid
/dist
folder.Author: Icaruk
Source Code: https://github.com/Icaruk/up-npm
License: MIT