1
0
mirror of https://github.com/dcarrillo/prezto.git synced 2025-07-04 11:09:26 +00:00

node: Add handy aliases for 'npm'

Add standard `npm` aliases that are used frequently.
This commit is contained in:
Indrajit Raychaudhuri
2021-05-16 22:05:27 -05:00
committed by Indrajit Raychaudhuri
parent 28ec39d9b2
commit 9459a716bf
2 changed files with 39 additions and 0 deletions

View File

@ -43,3 +43,23 @@ fi
#
N_PREFIX="${XDG_CONFIG_HOME:-$HOME/.config}/n" # The path to 'n' cache.
#
# Aliases
#
# npm
alias npmi='npm install'
alias npml='npm list'
alias npmo='npm outdated'
alias npmp='npm publish'
alias npmP='npm prune'
alias npmr='npm run'
alias npms='npm search'
alias npmt='npm test'
alias npmu='npm update'
alias npmx='npm uninstall'
alias npmci='npm ci'
alias npmcit='npm cit'
alias npmit='npm it'