[CHORE] Update run-ios and run-android scripts (#2450)
This commit is contained in:
parent
3c9017a62d
commit
03aba6f697
|
@ -20,13 +20,13 @@ yarn
|
|||
|
||||
Run the app:
|
||||
```sh
|
||||
npx react-native run-ios
|
||||
yarn ios
|
||||
```
|
||||
|
||||
or
|
||||
|
||||
```sh
|
||||
npx react-native run-android
|
||||
yarn android
|
||||
```
|
||||
|
||||
At this point, the app should be running on the simulator or on your device!
|
||||
|
|
|
@ -8,15 +8,14 @@
|
|||
"test-update": "jest --updateSnapshot",
|
||||
"lint": "eslint .",
|
||||
"ci": "npm run precommit && codecov",
|
||||
"ios": "react-native run-ios",
|
||||
"ios": "npx react-native run-ios",
|
||||
"android": "npx react-native run-android --variant=playDebug",
|
||||
"log-android": "react-native log-android",
|
||||
"android": "react-native run-android",
|
||||
"snyk-protect": "snyk protect",
|
||||
"precommit": "eslint . && jest",
|
||||
"generate-source-maps-ios": "react-native bundle --platform ios --dev false --entry-file index.js --bundle-output ios-release.bundle --sourcemap-output ios-release.bundle.map",
|
||||
"generate-source-maps-android": "bugsnag-sourcemaps",
|
||||
"postinstall": "patch-package && jetify",
|
||||
"play": "npx react-native run-android --variant=playDebug",
|
||||
"foss": "npx react-native run-android --variant=fossDebug"
|
||||
},
|
||||
"husky": {
|
||||
|
|
Loading…
Reference in New Issue