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
pull/1156/head
Jason Yu 2018-03-05 13:24:13 +00:00 committed by GitHub
parent c46b72d8d6
commit fff19e4003
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 0 deletions

View File

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