forked from grabbou/react-native-detox-example
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
42 lines (42 loc) · 1.49 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
{
"name": "detoxexample",
"version": "0.0.1",
"private": true,
"scripts": {
"start": "node node_modules/react-native/local-cli/cli.js start",
"test:ios:release": "detox build -c ios.sim.release && detox test -c ios.sim.release",
"test:ios:debug": "detox build -c ios.sim.debug && detox test -c ios.sim.debug",
"test:unit": "jest . --config=./jest/config.json",
"test": "yarn test:unit && yarn test:ios:release"
},
"dependencies": {
"react": "16.0.0",
"react-native": "^0.51.0"
},
"devDependencies": {
"babel-jest": "20.0.3",
"babel-preset-react-native": "1.9.2",
"detox": "^6.0.2",
"jest": "20.0.4",
"react-test-renderer": "16.0.0"
},
"detox": {
"test-runner": "jest",
"runner-config": "./jest/detox_config.json",
"specs": ".",
"configurations": {
"ios.sim.debug": {
"binaryPath": "ios/build/Build/Products/Debug-iphonesimulator/detoxexample.app",
"build": "xcodebuild -project ios/detoxexample.xcodeproj -scheme detoxexample -configuration Debug -sdk iphonesimulator -derivedDataPath ios/build",
"type": "ios.simulator",
"name": "iPhone 8"
},
"ios.sim.release": {
"binaryPath": "ios/build/Build/Products/Release-iphonesimulator/detoxexample.app",
"build": "xcodebuild -project ios/detoxexample.xcodeproj -scheme detoxexample -configuration Release -sdk iphonesimulator -derivedDataPath ios/build",
"type": "ios.simulator",
"name": "iPhone 8"
}
}
}
}