Last active
January 24, 2024 18:31
-
-
Save oskarhertzman/70cd21e1c5e45c68f1f213a0af617e8e to your computer and use it in GitHub Desktop.
React Native 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": "watchman watch-del-all && react-native start --reset-cache", | |
"react:link": "react-native link", | |
"android": "react-native run-android", | |
"android:shake": "adb shell input keyevent 82", | |
"android:clean": "cd android && ./gradlew clean && ./gradlew cleanBuildCache && cd .. ", | |
"android:build:store:aab": "cd android && ./gradlew bundleStoreRelease && cd ..", | |
"android:build:aab": "cd android && ./gradlew bundleRelease && cd ..", | |
"android:build:apk": "cd android && ./gradlew assembleStoreRelease && cd ..", | |
"android:release": "react-native run-android --variant storeRelease", | |
"ios": "react-native run-ios", | |
"ios:device:debug": "react-native run-ios --device --configuration Debug", | |
"ios:device:release": "react-native run-ios --device --configuration Release", | |
"ios:simulator:debug": "react-native run-ios --simulator=\"iPhone 11 Pro\" --configuration Debug", | |
"ios:simulator:release": "react-native run-ios --simulator --configuration Release", | |
"ios:device": "react-native run-ios --device", | |
"ios:release": "react-native run-ios --configuration Release", | |
"ios:pod:install": "cd ios && pod install && cd ..", | |
"ios:clean": "rm -rf ~/Library/Caches/CocoaPods && rm -rf Pods && rm -rf ~/Library/Developer/Xcode/DerivedData/* && cd ios && pod cache clean --all && pod deintegrate && pod setup && pod install && cd ..", | |
"ios:clean:build": "cd ios && xcodebuild clean && cd ..", | |
"yarn:clean": "rm -rf node_modules && yarn cache clean --force && yarn install" | |
}, |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment