Last active
December 14, 2021 15:16
-
-
Save jaybuidl/81b01616b8c0e81439302b3a9bbacad2 to your computer and use it in GitHub Desktop.
Shows the dependencies between Kleros NPM packages
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
npm list -g npm-dependants || npm install -g npm-dependants | |
for p in $(npm search @kleros --parseable | cut -f1 | sort) | |
do | |
echo $p | |
npm-dependants $p | sed 's/^/├─ /g' | |
echo | |
done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment