forked from kelset/react-native-e2e-jest-appium-webdriverio
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
54 lines (54 loc) · 1.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
{
"name": "TestForE2E",
"version": "0.0.1",
"private": true,
"scripts": {
"android": "react-native run-android",
"ios": "react-native run-ios --simulator=\"iPhone 14\"",
"start": "react-native start",
"test": "jest",
"lint": "eslint .",
"start:appium": "appium",
"test:e2e": "jest --testMatch=\"**/__tests__/**/*E2E.test.js\"",
"test:e2e:all": "yarn test:e2e:android && yarn test:e2e:ios",
"test:e2e:android": "PROJECT_ROOT=$(pwd) E2E_DEVICE=\"android\" yarn test:e2e",
"test:e2e:ios": "E2E_DEVICE=\"ios\" yarn test:e2e"
},
"dependencies": {
"react": "18.0.0",
"react-native": "0.69.4"
},
"devDependencies": {
"@babel/core": "^7.12.9",
"@babel/runtime": "^7.12.5",
"@react-native-community/eslint-config": "^2.0.0",
"appium": "^1.22.3",
"babel-jest": "^26.6.3",
"eslint": "^7.32.0",
"jest": "^26.6.3",
"webdriverio": "^7.21.0",
"metro-react-native-babel-preset": "^0.70.3",
"react-test-renderer": "18.0.0"
},
"jest": {
"preset": "react-native"
},
"e2e": {
"platform": {
"ios": {
"platformName": "iOS",
"platformVersion": "16.2",
"deviceName": "iPhone 14",
"bundleId": "org.reactjs.native.example.TestForE2E",
"automationName": "XCUITest"
},
"android": {
"platformName": "Android",
"platformVersion": "11",
"deviceName": "Android Emulator",
"app": "$PROJECT_ROOT/android/app/build/outputs/apk/debug/app-debug.apk",
"automationName": "UiAutomator2"
}
}
}
}