safe-pm v1.0.0
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
4 years ago