Package Exports
- safe-pm
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (safe-pm) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
Safe-PM
By Matthew Perlman and Rafayel Amirkhanyan
Why You Should Use Safe-PM?
As frequent node.js and NPM users, we always come accross the problem of installing dependencies in the incorrect directory, and having moments before we realize. So we made a small automation tool that wraps around node.js and helps prevent such small but annoying mistakes.
How To Install
npm install safe-pm
Only Supports Bash and ZSH
Commands
- Help
- Init
- Install
- Uninstall
- Reset
Help
safe-pm help
Description
Lists all commands
Init
safe-pm init
orsafe-pm -y
Description
Initiliazes a package.json. Use -y to use NPM's default package.json template.
Install
safe-pm install <package-name>
orsafe-pm i <package-name>
Description
Installs dependency using NPM. Checks if package.json is present so that user does not install dependency in a wrong directory
Uninstall
safe-pm uninstall <package-name>
orsafe-pm ui <package-name>
Uninstalls dependency using NPM
Reset
safe-pm reset
Description
Deletes package.json, package-lock.json, and node_modules from current directory