use-safety
v1.0.7
Published
The library for safety install from npm repository (artifactory et al.)
Downloads
22
Maintainers
Readme
use-safety
The library for safety install from npm repository (artifactory et al.)
How to Use
npx use-safety --help
Fix dependencies (npm/lerna)
npx use-safety fix
Clean (npm/lerna)
npx use-safety clean [-m, --node-modules][-l, --package-lock][-a, --all]
Install packages (npm/lerna)
npx use-safety i
npx use-safety i moment
Add packages without install (npm/lerna)
npx use-safety add
npx use-safety add moment
Pass extra arguments to npm\lerna client by placing them after --
npm
npx use-safety i moment -- --save-dev
lerna
npx use-safety i -- --hoist
npx use-safety i moment -- --dev
Use .env configuration
NODE_TLS_REJECT_UNAUTHORIZED=0
USE_SAFETY_REGISTRY=https://registry.npmjs.org/
USE_SAFETY_USERNAME=user
USE_SAFETY_PASSWORD=pass
USE_SAFETY_AUTH=token (for Basic Authentication)
USE_SAFETY_AUTH_TOKEN=token (for Bearer Authentication)
USE_SAFETY_ROOT_DIR=.
DEBUG=true