Created
March 2, 2016 21:19
-
-
Save orkaa/98073c9cefc9e5aa0494 to your computer and use it in GitHub Desktop.
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 | |
set -eu -o pipefail | |
APP_ROOT="$(dirname $(readlink -e $0))/.." | |
echo "Deleting .npm cache dirs" | |
find $APP_ROOT -depth -type d -name ".npm" -exec rm -rf {} \; | |
echo "Deleting every node_modules folder" | |
find $APP_ROOT -depth -type d -name "node_modules" -exec rm -rf {} \; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment