-
Notifications
You must be signed in to change notification settings - Fork 17
/
Copy pathpackage.json
43 lines (43 loc) · 1.14 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
{
"name": "e2etest",
"version": "0.0.1",
"private": true,
"scripts": {
"start": "node node_modules/react-native/local-cli/cli.js start",
"test": "E2E_DEVICE=\"*\" jest --testMatch=\"**/__tests__/**/!(*e2e.js)\"",
"start:appium": "appium",
"test:e2e": "jest --testMatch=\"**/__tests__/**/*e2e.js\"",
"test:e2e:android": "E2E_DEVICE=\"android-emulator\" npm run test:e2e",
"test:e2e:ios": "E2E_DEVICE=\"ios-emulator\" npm run test:e2e"
},
"dependencies": {
"react": "16.3.0-alpha.1",
"react-native": "^0.54.0"
},
"devDependencies": {
"appium": "1.7.2",
"babel-jest": "22.4.1",
"babel-preset-react-native": "4.0.0",
"jest": "^22.4.2",
"react-test-renderer": "16.3.0-alpha.1",
"wd": "1.6.0"
},
"jest": {
"preset": "react-native"
},
"e2e": {
"devices": {
"ios-emulator": {
"platformName": "iOS",
"platformVersion": "10.3",
"deviceName": "iPhone Simulator",
"app": "./ios/build/Build/Products/Release-iphonesimulator/e2etest.app"
},
"android-emulator": {
"platformName": "Android",
"deviceName": "Android Emulator",
"app": "./android/app/build/outputs/apk/app-release.apk"
}
}
}
}