-
-
Save ktpm489/20ab7239f9a2199d87b68a971af68f89 to your computer and use it in GitHub Desktop.
React Native: package.json: usefully tools for React Native that can be used with "npm run $name"
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 --reset-cache", | |
"reset": "rm -rf node_modules/ && npm cache clear && watchman watch-del-all && npm i", | |
"testflight": "fastlane beta", | |
"android-device": "adb reverse tcp:8081 tcp:8081 && react-native run-android", | |
"lint": "jslint **.js", | |
"test": "jest", | |
"generate-apk": "cd android && ./gradlew assembleRelease && open ./app/build/outputs/apk/", | |
"install-apk": "cd android && ./gradlew installRelease" | |
}, | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment