[CHORE] Update run-ios and run-android scripts (#2450)

This commit is contained in:
Diego Mello 2020-09-11 11:34:10 -03:00 committed by GitHub
parent 3c9017a62d
commit 03aba6f697
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 5 deletions

View File

@ -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!

View File

@ -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": {