mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2024-11-26 07:40:07 +00:00
Improved npm aliases: run, publish (#6354)
This commit is contained in:
parent
fb1227088d
commit
d29784e1ae
1 changed files with 8 additions and 0 deletions
|
@ -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"
|
Loading…
Reference in a new issue