Added list alias for npm plugin

Added the alias npmL for listing installed packages at root level (not showing sub-dependencies).
It also works with the global -g option.
This commit is contained in:
Mathias Rasmussen 2016-01-11 05:58:14 +01:00
commit 16c2f3fe50

View file

@ -17,3 +17,6 @@ alias npmD="npm i -D "
# Execute command from node_modules folder based on current directory
# i.e npmE gulp
alias npmE='PATH="$(npm bin)":"$PATH"'
# List all packages installed at root level
alias npmL='npm ls --depth=0'