forked from ui5-community/wdi5
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
108 lines (108 loc) · 4.88 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
96
97
98
99
100
101
102
103
104
105
106
107
108
{
"name": "--wdi5",
"private": true,
"version": "0.0.1-never-used",
"description": "cross-platform test framework for hybrid UI5 apps. wdi5 = Webdriver.IO + UI5 Test API + appium (mama package)",
"main": "",
"engines": {
"node": ">=12"
},
"scripts": {
"test": "run-p -r _startApp _test",
"test:multiversion": "run-p -r _startApp _test:multiversion",
"test:ci:multiversion": "HEADLESS=true run-p -r _startApp _test:multiversion",
"_test:multiversion": "node test/wdi5-multiversion.js",
"//test:withUI5tooling": "this only runs basic.test.js, but served by the ui5 tooling",
"test:withUI5tooling": "run-p -r _startApp:withUI5tooling _test:withUI5tooling",
"test:dist": "npm-run-all -r _build:ui5_app --parallel _startApp:dist _test",
"test:ci:wdio-ui5-service": "HEADLESS=true run-s test:ui5 test:ui5_late test:ui5_literal",
"test:ci:wdi5": "HEADLESS=true npm run test",
"test:ci:wdi5:withUI5tooling": "HEADLESS=true npm run test:withUI5tooling",
"test:ci:wdi5:dist": "HEADLESS=true npm run test:dist",
"test:ui5": "wdio ./wdio-ui5-service/test/wdio-ui5.conf.js",
"test:ui5_late": "wdio ./wdio-ui5-service/test/wdio-ui5-late.conf.js",
"test:ui5_literal": "wdio ./wdio-ui5-service/test/wdio-ui5-literal.conf.js",
"test:android:bs": "wdio ./test/wdio-bs-android.conf.js",
"test:ios:bs": "wdio ./test/wdio-bs-ios.conf.js",
"test:ios": "run-p -r _startApp:ios _testWT:ios",
"test:android": "run-p -r _startApp:android _test:android",
"//test:electron": "first link the correct chromedriver binary, then start it and run the tests",
"test:electron": "npm-run-all _link_cd --parallel _startApp:electron _testWT:electron",
"toc": "docs/gh-md-toc --insert README.md && rm README.md.orig* README.md.toc*",
"toc:wdi5": "docs/gh-md-toc --insert wdi5/README.md && rm wdi5/README.md.orig* wdi5/README.md.toc*",
"toc:service": "docs/gh-md-toc --insert wdio-ui5-service/README.md && rm wdio-ui5-service/README.md.orig* wdio-ui5-service/README.md.toc*",
"_test": "wait-on tcp:8888 && wdio ./test/wdio-browser.conf.js",
"_test:withUI5tooling": "wait-on tcp:8080 && wdio ./test/wdio-browser-withUI5tooling.conf.js",
"_test:android": "wdio ./test/wdio-android.conf.js",
"_test:electron": "wdio ./test/wdio-electron.conf.js",
"_testWT:electron": "sleep 2s && wdio ./test/wdio-electron.conf.js",
"_test:ios": "wdio ./test/wdio-ios.conf.js",
"_testWT:ios": "sleep 5s && wdio ./test/wdio-ios.conf.js",
"_startApp": "soerver -d ./test/ui5-app/webapp -p 8888 -x ./test/ui5-app/webapp/proxyrc.json",
"_startApp:withUI5tooling": "cd ./test/ui5-app && ui5 serve",
"_startApp:dist": "soerver -d ./test/ui5-app/dist -p 8888 -x ./test/ui5-app/webapp/proxyrc.json",
"//_startApp:electron": "run a custom version of chromedriver that matches the chromium engine one used in the electron app",
"_startApp:electron": "npx chromedriver@85",
"//_startApp": "ios | android - starts appium separately",
"_startApp:ios": "appium",
"_startApp:android": "appium --allow-insecure chromedriver_autodownload -g ./report/appium --log-level debug",
"_build:ui5_app": "cd test/ui5-app && ui5 build --all --exclude-task=* --include-task=generateComponentPreload",
"_build:ios_app": "cd test/ui5-app/app && node copySources.js && node replace-for-app.js && node build-ios.js",
"_build:android_app": "cd test/ui5-app/app && node copySources.js && node replace-for-app.js && node build-android.js",
"_build:electron_app": "cd test/ui5-app/app && node copySources.js && node replace-for-app.js && node build-electron.js"
},
"repository": {
"type": "git",
"url": "git+ssh://[email protected]:js-soft/wdi5.git"
},
"keywords": [
"cordova",
"ui5",
"wdio",
"webdriver",
"appium",
"wdio-service",
"ui5",
"openui5"
],
"author": "Dominik Feininger <[email protected]> (https://www.js-soft.com/)",
"contributors": [
"Volker Buzek <[email protected]> (https://www.js-soft.com/)",
"Simon Coen <[email protected]> (https://www.js-soft.com/)"
],
"license": "(DERIVED BEER-WARE OR Apache-2.0)",
"workspaces": [
"wdio-ui5-service",
"wdi5"
],
"commitlint": {
"extends": [
"@commitlint/config-conventional"
]
},
"husky": {
"hooks": {
"commit-msg": "commitlint -E HUSKY_GIT_PARAMS"
}
},
"devDependencies": {
"@commitlint/cli": "^11.0.0",
"@commitlint/config-conventional": "^11.0.0",
"@ui5/cli": "^2.6.6",
"appium-doctor": "^1.15.4",
"browserstack": "^1.6.1",
"browserstack-local": "^1.4.8",
"chromedriver": "^88.0.0",
"cordova": "^10.0.0",
"fs-extra": "^9.0.1",
"git-cz": "^4.7.6",
"husky": "^4.3.6",
"lerna": "^3.22.1",
"npm-run-all": "^4.1.5",
"replace-in-file": "^6.1.0",
"soerver": "0.0.3",
"wait-on": "^5.2.0",
"wd": "^1.13.0",
"wdio-chromedriver-service": "^6.0.4"
}
}