Created
September 28, 2017 09:58
-
-
Save skizzo/8633169b4f1b0e781c83af4d52ec7249 to your computer and use it in GitHub Desktop.
Shell script for cleaning a React Native project
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
watchman watch-del-all 1>/dev/null | |
rm -rf node_modules 1>/dev/null | |
rm -rf yarn.lock 1>/dev/null | |
rm -rf package-lock.json 1>/dev/null | |
rm -rf $TMPDIR/react-packager-* 1>/dev/null | |
rm -rf ios/build 1>/dev/null | |
npm cache clear --force -s 1>/dev/null | |
npm cache verify 1>/dev/null |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment