/
package.json
116 lines (116 loc) · 4.96 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
{
"name": "bare-expo",
"version": "0.0.1",
"private": true,
"scripts": {
"postinstall": "expo-yarn-workspaces postinstall",
"android": "export NODE_ENV=\"development\" && ./scripts/start-emulator.sh",
"android:clean": "pushd android; rm -rf ./.gradle && ./gradlew --configure-on-demand; popd",
"ios": "export NODE_ENV=\"development\" && ./scripts/start-simulator.sh",
"test:ios": "export NODE_ENV=\"test\" && ./scripts/start-simulator.sh",
"test:android": "export NODE_ENV=\"test\" && ./scripts/start-emulator.sh",
"test:web:debug": "EXPO_WEB_E2E_ENV=development jest -c e2e/jest.config.web.json",
"test:web": "EXPO_WEB_E2E_ENV=development jest -c e2e/jest.config.web.json",
"test:web:prod": "EXPO_WEB_E2E_ENV=production jest -c e2e/jest.config.web.json",
"edit:android": "open -a /Applications/Android\\ Studio.app ./android",
"edit:ios": "open -a Xcode ./ios/BareExpo.xcworkspace",
"web": "expo start:web --https",
"build:web": "expo build:web --no-pwa",
"start": "react-native start --reset-cache",
"clear-metro": "watchman watch-del-all && rm -rf /tmp/metro-bundler-cache-* && rm -rf /tmp/haste-map-react-native-packager-*",
"clear-ios-build": "rm -rf ios/build/; kill $(lsof -t -i:8081)",
"test": "jest",
"detox:clean": "detox clean-framework-cache && detox build-framework-cache",
"android:detox:build:debug": "detox build -c android.emu.debug",
"android:detox:build:release": "detox build -c android.emu.release",
"android:detox:test:debug": "detox test -c android.emu.debug --loglevel warn",
"android:detox:test:release": "watchman watch-del-all; detox test -c android.emu.release -l verbose --cleanup",
"ios:detox:build:debug": "detox build -c ios.sim.debug",
"ios:detox:build:release": "detox build -c ios.sim.release",
"ios:detox:test:debug": "detox test -c ios.sim.debug --loglevel warn --take-screenshots failing",
"ios:detox:test:release": "watchman watch-del-all; detox test -c ios.sim.release -l verbose --cleanup --take-screenshots failing",
"open": "./scripts/deep-link.sh test-suite",
"nuke": "rm -rf node_modules; rm -rf ios/Pods/ && rm -rf ios/build/ && rm -rf android/.gradle",
"sync:tools": "cp -a ../../../react-native/React/DevSupport/ ../../react-native-lab/react-native/React/DevSupport/"
},
"excludedUnimodules": [
"expo-branch",
"expo-camera",
"expo-face-detector",
"unimodules-face-detector-interface",
"expo-payments-stripe",
"expo-ads-facebook",
"expo-ads-admob",
"expo-video-thumbnails",
"expo-module-template",
"expo-apple-authentication",
"expo-updates",
"expo-splash-screen"
],
"detox": {
"configurations": {
"ios.sim.debug": {
"binaryPath": "ios/build/Build/Products/Debug-iphonesimulator/Bare Expo.app",
"build": "./scripts/build-detox-ios.sh Debug",
"type": "ios.simulator",
"name": "iPhone 11"
},
"ios.sim.release": {
"binaryPath": "ios/build/Build/Products/Release-iphonesimulator/Bare Expo.app",
"build": "./scripts/build-detox-ios.sh Release YES",
"type": "ios.simulator",
"name": "iPhone 11"
},
"android.emu.debug": {
"binaryPath": "android/app/build/outputs/apk/debug/app-debug.apk",
"build": "cd android && ./gradlew assembleDebug assembleAndroidTest -DtestBuildType=debug && cd ..",
"type": "android.emulator",
"name": "bare-expo"
},
"android.emu.release": {
"binaryPath": "android/app/build/outputs/apk/release/app-release.apk",
"build": "cd android && ./gradlew assembleRelease assembleAndroidTest -DtestBuildType=release && cd ..",
"type": "android.emulator",
"name": "bare-expo"
}
},
"runner-config": "./e2e/jest.config.json",
"test-runner": "jest"
},
"dependencies": {
"@babel/runtime": "^7.5.5",
"@react-native-community/segmented-control": "1.6.1",
"@react-navigation/web": "2.0.0-alpha.0",
"expo": "~37.0.6",
"expo-image": "~1.0.0-alpha.0",
"expo-notifications": "~0.1.7",
"expo-yarn-workspaces": "^1.2.1",
"native-component-list": "*",
"react": "16.9.0",
"react-dom": "16.9.0",
"react-native": "0.61.4",
"react-native-appearance": "~0.3.3",
"react-native-gesture-handler": "~1.6.0",
"react-native-reanimated": "~1.9.0",
"react-native-safe-area-context": "0.7.3",
"react-native-screens": "~2.8.0",
"react-native-unimodules": "~0.9.1",
"react-native-web": "^0.11.4",
"react-navigation": "4.1.0-alpha.0",
"react-navigation-tabs": "^2.7.0",
"test-suite": "*"
},
"devDependencies": {
"@babel/core": "^7.0.0",
"@types/react": "~16.9.0",
"@types/react-native": "^0.60.15",
"babel-plugin-module-resolver": "^4.0.0",
"babel-preset-expo": "~8.2.1",
"detox": "^14.8.4",
"expo-module-scripts": "~1.2.0",
"expo-yarn-workspaces": "^1.2.1",
"jest-expo": "~37.0.0",
"jest-expo-puppeteer": "^1.0.0",
"puppeteer": "^2.1.1"
}
}