Guest User

Untitled

a guest
May 26th, 2018
84
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.23 KB | None | 0 0
  1. #!/bin/sh -e
  2. if test -n "$1"; then
  3. cd "$1"
  4. fi
  5.  
  6. find node_modules/ -name package.json \
  7. |grep -ve node_modules/nyc/node_modules/ \
  8. |sed -e 's|.*node_modules/||' -e 's|/package\.json$||' \
  9. |sort \
  10. |uniq -c \
  11. |grep -ve '^\s*1\s'
Add Comment
Please, Sign In to add comment