forked from ui5-community/wdi5
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
112 lines (112 loc) · 4.12 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
{
"name": "wdio-ui5-service",
"version": "1.5.1",
"description": "WebdriverIO plugin for testing UI5 browser-based apps",
"keywords": [
"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)",
"main": "dist/index.js",
"types": "dist/index.d.ts",
"files": [
"dist",
"client-side-js"
],
"workspaces": [
".",
"examples/fe-app",
"examples/ui5-js-app",
"examples/ui5-ts-app",
"examples/cucumber"
],
"scripts": {
"// build time": "refers to developing wdi5/wdio-ui5-service itself",
"clean": "rimraf dist/*",
"compile": "tsc",
"build": "run-s -c clean compile",
"build:watch": "tsc -w",
"// 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:ts": "npm run start --workspace=examples/ui5-ts-app",
"_startApp:fe": "npm run serve --workspace=examples/fe-app",
"_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-h:js-app": "wait-on tcp:8888 && wait-on tcp:8080 && npm run test-h --workspace=examples/ui5-js-app",
"_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: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:protocol": "runs the same test with webdriver and devtools protocol",
"test:protocol": "npm run test:protocol -w examples/ui5-ts-app",
"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": {
"dotenv": "^16.0.3",
"semver": "^7.3.8"
},
"devDependencies": {
"@commitlint/cli": "^17.2.0",
"@commitlint/config-conventional": "^17.2.0",
"@sap/ux-ui5-fe-mockserver-middleware": "^1.6.5",
"@types/openui5": "^1.108.0",
"@types/sinon": "^10.0.13",
"@typescript-eslint/eslint-plugin": "^5.42.1",
"@typescript-eslint/parser": "^5.42.1",
"@ui5/cli": "^2.14.14",
"@wdio/cli": "^7",
"@wdio/local-runner": "^7",
"@wdio/mocha-framework": "^7",
"@wdio/spec-reporter": "^7",
"@wdio/types": "^7",
"chromedriver": "latest",
"cross-env": "^7.0.3",
"deepmerge": "^4.2.2",
"docsify-cli": "4.4.4",
"eslint": "^8.27.0",
"eslint-config-prettier": "^8.5.0",
"eslint-plugin-prettier": "^4.2.1",
"fs-extra": "^10.1.0",
"husky": "^8.0.2",
"lint-staged": "^13.0.3",
"marky": "^1.2.5",
"mocha": "^10.1.0",
"npm-run-all": "^4.1.5",
"prettier": "^2.7.1",
"replace-in-file": "^6.3.5",
"rimraf": "^3.0.2",
"sinon": "^14.0.2",
"soerver": "^0.0.3",
"standard-version": "^9.5.0",
"ts-node": "^10.9.1",
"typescript": "^4.8.4",
"wait-on": "^6.0.1",
"wdio-chromedriver-service": "^7"
},
"engines": {
"node": ">=16",
"npm": ">=7"
}
}