Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/bin/sh -e
- if test -n "$1"; then
- cd "$1"
- fi
- find node_modules/ -name package.json \
- |grep -ve node_modules/nyc/node_modules/ \
- |sed -e 's|.*node_modules/||' -e 's|/package\.json$||' \
- |sort \
- |uniq -c \
- |grep -ve '^\s*1\s'
Add Comment
Please, Sign In to add comment