Last active
July 13, 2024 21:08
-
-
Save itinance/9e59cef51567471a243909bed3110aa8 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 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