1.4.1 • Published 5 years ago

npm-manager v1.4.1

Weekly downloads
3
License
MIT
Repository
github
Last release
5 years ago

NPM Manager

Build Status Test Coverage Dependabot Status Dependencies NPM Downloads Semantic-Release Gardener

CLI Wrapper around NPM

Getting Started

# npm i -g npm-manager

Commands

Can run all commands with npm-manager ... or nm (alias)

nm update

Update dependencies in package.json in current directory. Requires ncu.

This also force re-creates the package-lock.json and (re-)adds it to git.

nm persist pkg

Persist dependencies of current project into offline/package-json.tar.gz

Can persist custom dependencies e.g. with nm persist npm@6.1.0 to offline/npm@6.1.0.tar.gz.

nm install pkg

Install dependencies from offline/package-json.tar.gz. Will throw an error if not in sync.

Can install global dependencies e.g. with nm install npm@6.1.0 from offline/npm@6.1.0.tar.gz.

Can pass nested arguments with --args="${ARGS}". Example:

$ nm install npm@6.1.0 --args="--arg1 --arg2"

nm verify pkg

Verify that dependency offline cache is valid.

How it works

Uses npm cache and saves / restores it into / from archive. Uses shell scripts, so unix is required.

1.4.1

5 years ago

1.4.0

6 years ago

1.3.3

6 years ago

1.3.2

6 years ago

1.3.1

6 years ago

1.3.0

6 years ago

1.2.0

6 years ago

1.1.0

6 years ago

1.0.0

6 years ago