[FIX] Yarn android scripts (#2716)

This commit is contained in:
Diego Mello 2020-12-16 11:41:02 -03:00 committed by GitHub
parent 5d4e820988
commit 20a00ee792
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 4 deletions

View File

@ -9,15 +9,14 @@
"lint": "eslint .", "lint": "eslint .",
"ci": "npm run precommit && codecov", "ci": "npm run precommit && codecov",
"ios": "npx react-native run-ios", "ios": "npx react-native run-ios",
"android": "npx react-native run-android --variant=playDebug", "android": "npx react-native run-android --variant=experimentalPlayDebug",
"android-whitelabel": "npx react-native run-android --main-activity chat.rocket.reactnative.MainActivity --variant=playDebug --appId", "android-whitelabel": "npx react-native run-android --main-activity chat.rocket.reactnative.MainActivity --variant=experimentalPlayDebug --appId",
"log-android": "react-native log-android", "log-android": "react-native log-android",
"snyk-protect": "snyk protect", "snyk-protect": "snyk protect",
"precommit": "eslint . && jest", "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-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", "generate-source-maps-android": "bugsnag-sourcemaps",
"postinstall": "patch-package && jetify", "postinstall": "patch-package && jetify"
"foss": "npx react-native run-android --variant=fossDebug"
}, },
"husky": { "husky": {
"hooks": { "hooks": {