-
Notifications
You must be signed in to change notification settings - Fork 16
Expand file tree
/
Copy pathpackage.json
More file actions
47 lines (47 loc) · 1.8 KB
/
package.json
File metadata and controls
47 lines (47 loc) · 1.8 KB
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
{
"name": "wdio-electron-service-example",
"version": "1.0.0",
"main": "dist/main.js",
"module": "dist/main.js",
"type": "module",
"scripts": {
"build": "pnpm build:bundle && pnpm build:package",
"build:bundle": "tsc && rollup -c rollup.config.js",
"build:package": "cp ./src/index.html ./dist && electron-forge package",
"build:package:mac-universal": "cp ./src/index.html ./dist && electron-forge package --platform=darwin --arch=universal",
"build:mac-universal": "pnpm build:bundle && pnpm build:package:mac-universal",
"ci": "pnpm i && pnpm build && pnpm test",
"ci:mac-universal": "pnpm i && pnpm build:mac-universal && pnpm test",
"clean": "pnpm clean:dist && rm -rf ./node_modules pnpm-lock.yaml ./wdio-logs ./out",
"clean:dist": "pnpx rimraf ./dist && mkdir -p ./dist",
"test": "wdio run ./wdio.conf.ts && pnpm test:multiremote && pnpm test:standalone",
"test:multiremote": "wdio run ./wdio.multiremote.conf.ts",
"test:standalone": "tsx ./e2e-standalone/api.spec.ts",
"test:standalone:local": "cd .. && pnpm build && cd - && rm -rf ./node_modules && pnpm i && pnpm test:standalone"
},
"dependencies": {
"wdio-electron-service": "file:../"
},
"devDependencies": {
"@electron-forge/cli": "^7.2.0",
"@rollup/plugin-commonjs": "^25.0.4",
"@rollup/plugin-node-resolve": "^15.2.1",
"@types/node": "^20.11.0",
"@wdio/cli": "^8.27.2",
"@wdio/globals": "^8.27.2",
"@wdio/local-runner": "^8.27.2",
"@wdio/mocha-framework": "^8.27.2",
"electron": "^29.3.1",
"global-jsdom": "^24.0.0",
"jsdom": "^24.0.0",
"rollup": "^4.9.5",
"ts-loader": "^9.4.4",
"ts-node": "^10.9.1",
"tsx": "^4.8.2",
"typescript": "^5.3.2",
"webdriverio": "^8.27.2"
},
"peerDependencies": {
"typescript": "5.2.2"
}
}