1{ 2 "name": "bare-expo", 3 "version": "0.0.1", 4 "private": true, 5 "scripts": { 6 "postinstall": "expo-yarn-workspaces postinstall", 7 "android": "export NODE_ENV=\"development\" && ./scripts/start-emulator.sh", 8 "android:clean": "pushd android; rm -rf ./.gradle && ./gradlew --configure-on-demand; popd", 9 "ios": "export NODE_ENV=\"development\" && ./scripts/start-simulator.sh", 10 "test:ios": "export NODE_ENV=\"test\" && ./scripts/start-simulator.sh", 11 "test:android": "export NODE_ENV=\"test\" && ./scripts/start-emulator.sh", 12 "test:web:debug": "EXPO_WEB_E2E_ENV=development jest -c e2e/jest.config.web.json", 13 "test:web": "EXPO_WEB_E2E_ENV=development jest -c e2e/jest.config.web.json", 14 "test:web:prod": "EXPO_WEB_E2E_ENV=production jest -c e2e/jest.config.web.json", 15 "edit:android": "open -a /Applications/Android\\ Studio.app ./android", 16 "edit:ios": "open -a Xcode ./ios/BareExpo.xcworkspace", 17 "web": "expo start:web --https", 18 "build:web": "expo build:web --no-pwa", 19 "start": "react-native start --reset-cache", 20 "clear-metro": "watchman watch-del-all && rm -rf /tmp/metro-bundler-cache-* && rm -rf /tmp/haste-map-react-native-packager-*", 21 "clear-ios-build": "rm -rf ios/build/; kill $(lsof -t -i:8081)", 22 "test": "jest", 23 "detox:clean": "detox clean-framework-cache && detox build-framework-cache", 24 "android:detox:build:debug": "detox build -c android.emu.debug", 25 "android:detox:build:release": "detox build -c android.emu.release", 26 "android:detox:test:debug": "detox test -c android.emu.debug --loglevel warn", 27 "android:detox:test:release": "watchman watch-del-all; detox test -c android.emu.release -l verbose --cleanup --take-screenshots failing --record-logs failing", 28 "ios:detox:build:debug": "detox build -c ios.sim.debug", 29 "ios:detox:build:release": "detox build -c ios.sim.release", 30 "ios:detox:test:debug": "detox test -c ios.sim.debug --loglevel warn --take-screenshots failing", 31 "ios:detox:test:release": "watchman watch-del-all; detox test -c ios.sim.release -l verbose --cleanup --take-screenshots failing", 32 "open": "./scripts/deep-link.sh test-suite", 33 "nuke": "rm -rf node_modules; rm -rf ios/Pods/ && rm -rf ios/build/ && rm -rf android/.gradle", 34 "sync:tools": "cp -a ../../../react-native/React/DevSupport/ ../../react-native-lab/react-native/React/DevSupport/" 35 }, 36 "expo": { 37 "autolinking": { 38 "exclude": [ 39 "expo-branch", 40 "expo-ads-facebook", 41 "expo-ads-admob", 42 "expo-apple-authentication", 43 "expo-updates", 44 "expo-module-template" 45 ], 46 "ios": { 47 "flags": { 48 "inhibit_warnings": false 49 } 50 } 51 } 52 }, 53 "detox": { 54 "configurations": { 55 "ios.sim.debug": { 56 "binaryPath": "ios/build/Build/Products/Debug-iphonesimulator/BareExpoDetox.app", 57 "build": "./scripts/build-detox-ios.sh Debug", 58 "type": "ios.simulator", 59 "name": "iPhone 12" 60 }, 61 "ios.sim.release": { 62 "binaryPath": "ios/build/Build/Products/Release-iphonesimulator/BareExpoDetox.app", 63 "build": "./scripts/build-detox-ios.sh Release YES", 64 "type": "ios.simulator", 65 "name": "iPhone 12" 66 }, 67 "android.emu.debug": { 68 "binaryPath": "android/app/build/outputs/apk/debug/app-debug.apk", 69 "build": "cd android && ./gradlew :app:assembleDebug :app:assembleAndroidTest -DtestBuildType=debug && cd ..", 70 "type": "android.emulator", 71 "name": "avd-31" 72 }, 73 "android.emu.release": { 74 "binaryPath": "android/app/build/outputs/apk/release/app-release.apk", 75 "build": "cd android && ./gradlew :app:assembleRelease :app:assembleAndroidTest -DtestBuildType=release && cd ..", 76 "type": "android.emulator", 77 "name": "avd-31" 78 } 79 }, 80 "runner-config": "./e2e/jest.config.json", 81 "test-runner": "jest" 82 }, 83 "expo-yarn-workspaces": { 84 "symlinks": [ 85 "expo-constants", 86 "expo-camera", 87 "expo-updates", 88 "detox", 89 "react-native-reanimated" 90 ] 91 }, 92 "dependencies": { 93 "@babel/runtime": "^7.14.0", 94 "@react-native-async-storage/async-storage": "~1.15.0", 95 "@react-native-community/datetimepicker": "6.1.2", 96 "@react-native-community/netinfo": "8.2.0", 97 "@react-native-community/slider": "4.2.1", 98 "@react-native-community/viewpager": "5.0.11", 99 "@react-native-masked-view/masked-view": "0.2.6", 100 "@react-native-picker/picker": "2.4.0", 101 "@react-native-segmented-control/segmented-control": "2.4.0", 102 "expo": "~45.0.0-beta.1", 103 "expo-camera": "~12.2.0", 104 "expo-dev-client": "~1.0.0", 105 "expo-error-recovery": "~3.1.0", 106 "expo-face-detector": "~11.2.0", 107 "expo-image": "~0.2.0", 108 "expo-notifications": "~0.15.0", 109 "expo-random": "~12.2.0", 110 "expo-splash-screen": "~0.15.0", 111 "native-component-list": "*", 112 "react": "17.0.2", 113 "react-dom": "17.0.2", 114 "react-native": "0.68.2", 115 "react-native-gesture-handler": "~2.2.0", 116 "react-native-reanimated": "~2.8.0", 117 "react-native-safe-area-context": "4.2.4", 118 "react-native-screens": "~3.11.1", 119 "react-native-shared-element": "0.8.4", 120 "react-native-svg": "12.3.0", 121 "react-native-view-shot": "3.1.2", 122 "react-native-webview": "11.18.1", 123 "test-suite": "*" 124 }, 125 "devDependencies": { 126 "@babel/core": "^7.12.9", 127 "@types/react": "~17.0.21", 128 "@types/react-native": "~0.66.13", 129 "babel-plugin-module-resolver": "^4.1.0", 130 "babel-preset-expo": "~9.1.0", 131 "detox": "^19.4.1", 132 "expo-module-scripts": "^2.0.0", 133 "expo-yarn-workspaces": "^2.0.0", 134 "jest-expo": "~45.0.0-beta.1", 135 "jest-expo-puppeteer": "^1.1.1", 136 "puppeteer": "^2.1.1" 137 } 138} 139