Added alias that only list top level modules

Credits to our mighty Evan You (creator of Vue.js) @yyx990803

https://gist.github.com/yyx990803/6045243
This commit is contained in:
Jason Yu
2018-03-05 13:24:13 +00:00
committed by GitHub
parent c46b72d8d6
commit fff19e4003

View File

@@ -20,3 +20,5 @@ alias nud='npm update'
alias nr='npm run'
alias nls='npm list'
alias nlsg='npm list --global'
alias ng="npm list -g --depth=0 2>/dev/null"
alias nl="npm list --depth=0 2>/dev/null"