Improved npm aliases: run, publish (#6354)

This commit is contained in:
Athaher Sirnaik 2017-11-04 23:05:44 +05:30 committed by Robby Russell
parent fb1227088d
commit d29784e1ae

View file

@ -38,9 +38,17 @@ alias npmV="npm -v"
# List packages # List packages
alias npmL="npm list" alias npmL="npm list"
# List top-level installed packages
alias npmL0="npm ls --depth=0"
# Run npm start # Run npm start
alias npmst="npm start" alias npmst="npm start"
# Run npm test # Run npm test
alias npmt="npm test" alias npmt="npm test"
# Run npm scripts
alias npmR="npm run"
# Run npm publish
alias npmP="npm publish"