Forked from andrerfneves/gist:bf3174c0d7adf35e0a77eff0b97e71c9
Created
August 10, 2016 23:03
-
-
Save nishp1/e80d1787d7c52286cc2f979a8cd9532a to your computer and use it in GitHub Desktop.
Useful React Native NPM Scripts
This file contains hidden or 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
"scripts": { | |
"start": "node node_modules/react-native/local-cli/cli.js start", | |
"rc-start": "npm start -- --reset-cache", | |
"clean": "rm -rf $TMPDIR/react-* && watchman watch-del-all && npm cache clean", | |
"clean-start": "npm run clean && npm run rc-start", | |
"fresh-install": "rm -rf $TMPDIR/react-* && watchman watch-del-all && rm -rf ios/build/ModuleCache/* && rm -rf node_modules/ && npm cache clean && npm install", | |
"fresh-start" : "npm run fresh-install && npm run rc-start", | |
"tron": "node_modules/.bin/reactotron" | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment