/
package.json
51 lines (51 loc) · 1.39 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
{
"name": "RNTesting",
"version": "0.0.1",
"private": true,
"scripts": {
"start": "node node_modules/react-native/local-cli/cli.js start",
"test": "jest"
},
"dependencies": {
"axios": "^0.18.0",
"react": "16.0.0",
"react-native": "0.50",
"react-redux": "^5.0.7",
"redux": "^4.0.0",
"redux-saga": "^0.16.0"
},
"devDependencies": {
"babel-jest": "23.4.0",
"babel-preset-react-native": "4.0.0",
"detox": "8.0.0",
"jest": "23.4.0",
"mocha": "4.0.1",
"react-test-renderer": "16.0.0"
},
"jest": {
"preset": "react-native",
"testMatch": ["<rootDir>/__tests__/*"]
},
"detox": {
"configurations": {
"ios.sim.debug": {
"binaryPath":
"ios/build/Build/Products/Debug-iphonesimulator/rntdd.app",
"build":
"xcodebuild -project ios/rntdd.xcodeproj -scheme rntdd -configuration Debug -sdk iphonesimulator -derivedDataPath ios/build",
"type": "ios.simulator",
"name": "iPhone 7"
},
"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": "Nexus_5X_API_25_x86"
}
},
"test-runner": "mocha",
"specs": "e2e",
"runner-config": "e2e/mocha.opts"
}
}