mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2024-11-25 15:20:08 +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
|
||||
alias npmL="npm list"
|
||||
|
||||
# List top-level installed packages
|
||||
alias npmL0="npm ls --depth=0"
|
||||
|
||||
# Run npm start
|
||||
alias npmst="npm start"
|
||||
|
||||
# Run 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