From 03aba6f69766322052b4ab6495906b147bcd14bb Mon Sep 17 00:00:00 2001 From: Diego Mello Date: Fri, 11 Sep 2020 11:34:10 -0300 Subject: [PATCH] [CHORE] Update run-ios and run-android scripts (#2450) --- CONTRIBUTING.md | 4 ++-- package.json | 5 ++--- 2 files changed, 4 insertions(+), 5 deletions(-) diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 1990eb94..d1e39534 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -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! diff --git a/package.json b/package.json index 0b4f6d2c..ce303591 100644 --- a/package.json +++ b/package.json @@ -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": {