This repository has been archived by the owner on Sep 9, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 118
/
package.json
95 lines (95 loc) · 3.55 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
{
"name": "RN",
"version": "0.0.1",
"private": true,
"scripts": {
"android": "react-native run-android",
"ios": "react-native run-ios",
"start": "react-native start",
"test": "jest",
"pbjs": "pbjs -t static-module -w commonjs -o src/native/proto.js ../../tcx-proto/src/*.proto && pbts -o src/native/proto.d.ts src/native/proto.js",
"e2e:debug:build": "detox build --configuration=ios.sim.debug",
"e2e:debug:test": "detox test --configuration=ios.sim.debug",
"e2e:debug": "npm run e2e:debug:build && npm run e2e:debug:test",
"e2e:build": "detox build --configuration=ios.sim.release",
"e2e:test": "detox test --configuration=ios.sim.release",
"e2e": "npm run e2e:build && npm run e2e:test",
"e2er": "yarn e2e --reuse",
"e2e:debug:build:android": "detox build --configuration=android.emu.debug",
"e2e:debug:test:android": "detox test --configuration=android.emu.debug",
"e2e:debug:android": "npm run e2e:debug:build:android && npm run e2e:debug:test:android",
"e2e:build:android": "detox build --configuration=android.emu.release",
"e2e:test:android": "detox test --configuration=android.emu.release",
"e2e:android": "npm run e2e:build:android && npm run e2e:test:android"
},
"dependencies": {
"buffer": "^5.4.3",
"protobufjs": "^6.8.8",
"react": "16.9.0",
"react-native": "0.61.4",
"react-native-gesture-handler": "^1.5.2",
"react-native-reanimated": "^1.4.0",
"react-native-screens": "^1.0.0-alpha.23",
"react-navigation": "^4.0.10",
"react-navigation-stack": "^1.10.3"
},
"devDependencies": {
"@babel/core": "^7.6.2",
"@babel/runtime": "^7.6.2",
"@react-native-community/eslint-config": "^0.0.5",
"@types/jest": "^24.0.18",
"@types/react-native": "^0.60.22",
"@types/react-test-renderer": "16.9.0",
"babel-jest": "^24.9.0",
"detox": "^14.8.2",
"jest": "^24.9.0",
"metro-react-native-babel-preset": "^0.56.0",
"react-test-renderer": "16.9.0",
"typescript": "^3.6.3"
},
"jest": {
"preset": "react-native",
"moduleFileExtensions": [
"ts",
"tsx",
"js",
"jsx",
"json",
"node"
]
},
"detox": {
"test-runner": "jest",
"runner-config": "e2e/config.json",
"configurations": {
"ios.sim.debug": {
"binaryPath": "ios/build/Build/Products/Debug-iphonesimulator/RN.app",
"build": "xcodebuild -workspace ios/RN.xcworkspace -scheme RN -configuration Debug -sdk iphonesimulator -derivedDataPath ios/build",
"type": "ios.simulator",
"name": "iPhone 11 Pro Max"
},
"ios.sim.release": {
"binaryPath": "ios/build/Build/Products/Release-iphonesimulator/RN.app",
"build": "xcodebuild -workspace ios/RN.xcworkspace -scheme RN -configuration Release -sdk iphonesimulator -derivedDataPath ios/build",
"type": "ios.simulator",
"name": "iPhone 11 Pro Max"
},
"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",
"device": {
"avdName": "Pixel_3_API_28"
}
},
"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",
"device": {
"avdName": "Pixel_3_API_28"
}
}
}
}
}