forked from ui5-community/wdi5
-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
138 lines (138 loc) · 5.58 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
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
{
"name": "wdio-ui5-service",
"version": "2.0.0-rc.0",
"description": "WebdriverIO plugin for testing UI5 browser-based apps",
"keywords": [
"wdi5",
"wdio-service",
"ui5",
"openui5",
"sapui5"
],
"homepage": "https://github.com/ui5-community/wdi5#readme",
"repository": {
"type": "git",
"url": "https://github.com/ui5-community/wdi5.git"
},
"license": "(Apache-2.0 or DERIVED BEER-WARE)",
"author": "the UI5 community <[email protected]> (https://github.com/ui5-community)",
"type": "module",
"exports": {
"import": "./esm/index.js",
"require": "./cjs/index.js"
},
"types": "esm/index.d.ts",
"files": [
"esm",
"cjs",
"client-side-js"
],
"workspaces": [
".",
"examples/fe-app",
"examples/ui5-js-app",
"examples/ui5-js-app-esm",
"examples/ui5-ts-app",
"examples/cucumber",
"examples/cap-bookshop-wdi5"
],
"scripts": {
"// build time": "refers to developing wdi5/wdio-ui5-service itself",
"clean": "rimraf cjs/* && rimraf esm/*",
"build": "run-s -c clean _build:cjs _build:cjs:pkgJson _build:esm",
"_build:cjs:pkgJson": "node .retrofit-pkg-json.js",
"_build:cjs": "tsc --p tsconfig-cjs.json",
"_build:esm": "tsc --p tsconfig.json",
"build:watch": "npm-run-all clean --parallel _build:watch:cjs _build:cjs:pkgJson _build:watch:esm",
"_build:watch:cjs": "tsc -w --p tsconfig-cjs.json",
"_build:watch:esm": "tsc -w --p tsconfig.json",
"// test time": "refers to testing wdio-ui5-service",
"_startApp:js": "soerver -d ./examples/ui5-js-app/webapp -p 8888 -x ./examples/ui5-js-app/webapp/proxyrc.json",
"_startApp:js-tooling": "npm run serve --workspace=examples/ui5-js-app",
"_startApp:js:esm": "npm start --workspace=examples/ui5-js-app-esm -- -p 8082 ",
"_startApp:ts": "npm run start --workspace=examples/ui5-ts-app",
"_startApp:fe": "npm run serve --workspace=examples/fe-app",
"_startApp:cap": "npm run start --workspace=examples/cap-bookshop-wdi5",
"_test:js-app": "wait-on tcp:8888 && wait-on tcp:8080 && npm run test --workspace=examples/ui5-js-app",
"_test:ts-app": "wait-on tcp:8080 && npm run test --workspace=examples/ui5-ts-app",
"_test:cap-app": "wait-on tcp:4004 && npm run wdi5 --workspace=examples/cap-bookshop-wdi5 -- --headless",
"_test-h:js-app": "wait-on tcp:8888 && wait-on tcp:8080 && npm run test-h --workspace=examples/ui5-js-app",
"_test-h:js-app:esm": "wait-on tcp:8082 && npm run wdi5 --workspace=examples/ui5-js-app-esm -- --headless ",
"_test-h:ts-app": "wait-on tcp:8080 && npm run test -w examples/ui5-ts-app -- --headless && npm run test:lateInject -w examples/ui5-ts-app -- --headless",
"test-h:js-app": "run-p -r _startApp:js _startApp:js-tooling _test-h:js-app",
"test-h:js-app:esm": "run-p -r _startApp:js:esm _test-h:js-app:esm",
"test:ts-app": "run-p -r _startApp:ts _test:ts-app",
"test:cucumber": "npm run test --workspace=examples/cucumber",
"test-h:ts-app": "run-p -r _startApp:ts _test-h:ts-app",
"test:js-app": "run-p -r _startApp:js _startApp:js-tooling _test:js-app",
"_test:fe-app": "wait-on tcp:8088 && npm run test:wdi5 --workspace=examples/fe-app",
"test:fe-app": "run-p -r _startApp:fe _test:fe-app",
"//test:auth": "this runs either locally or on browserstack depending on the env variable BROWSERSTACK",
"test:auth": "npm run test:authentication:bstack -w examples/ui5-ts-app",
"test:capAuth": "run-p -r _startApp:cap _test:cap-app",
"//test:protocol": "runs the same test with webdriver and devtools protocol",
"test:protocol": "npm run test:protocol -w examples/ui5-ts-app",
"//test:wz": "specific tests for SAP Build Workzone, standard edition",
"test:wz:testlib": "npm run test:wz --workspace=examples/ui5-ts-app -- --headless --spec test/e2e/workzone/testlib-journey.test.ts",
"test:wz:regular": "npm run test:wz --workspace=examples/ui5-ts-app -- --headless --spec test/e2e/workzone/regular-journey.test.ts",
"test": "cross-env TS_NODE_PROJECT=\"test/tsconfig.json\" mocha",
"prepare": "husky install",
"release": "standard-version",
"startDoc": "docsify serve ./docs"
},
"lint-staged": {
"*": "prettier --ignore-unknown --write",
"*.ts": "eslint --cache --fix"
},
"dependencies": {
"devtools": "^8.16.7",
"dotenv": "^16.3.1",
"semver": "^7.5.4"
},
"devDependencies": {
"@commitlint/cli": "^17.7.1",
"@commitlint/config-conventional": "^17.7.0",
"@sap/approuter": "14.3.2",
"@sap/ux-ui5-fe-mockserver-middleware": "^1.6.5",
"@types/openui5": "^1.118.0",
"@types/sinon": "^10.0.16",
"@typescript-eslint/eslint-plugin": "^6.7.0",
"@typescript-eslint/parser": "^6.7.0",
"@ui5/cli": "^3",
"@wdio/sauce-service": "^8",
"cross-env": "^7.0.3",
"deepmerge": "^4.3.1",
"docsify-cli": "4.4.4",
"eslint": "^8.49.0",
"eslint-config-prettier": "^9.0.0",
"eslint-plugin-prettier": "^5.0.0",
"fs-extra": "^11.1.1",
"husky": "^8.0.3",
"lint-staged": "^14.0.1",
"marky": "^1.2.5",
"mbt": "^1.2.25",
"mocha": "^10.2.0",
"npm-run-all": "^4.1.5",
"prettier": "^3.0.3",
"replace-in-file": "^7.0.1",
"rimraf": "^5.0.1",
"sinon": "^16.0.0",
"soerver": "^0.0.3",
"standard-version": "^9.5.0",
"ts-node": "^10.9.1",
"typescript": "^5.2.2",
"wait-on": "^7.0.1"
},
"peerDependencies": {
"@wdio/cli": ">=8.14.0",
"@wdio/local-runner": "^8",
"@wdio/mocha-framework": "^8",
"@wdio/spec-reporter": "^8",
"@wdio/types": "^8",
"webdriverio": ">=8.14.0"
},
"engines": {
"node": ">=18",
"npm": ">=7"
}
}