-
Notifications
You must be signed in to change notification settings - Fork 17
/
package.json
57 lines (57 loc) · 3.18 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
{
"name": "@repo/e2e",
"description": "WebdriverIO Electron Service E2E Test Suite",
"type": "module",
"private": "true",
"scripts": {
"ci": "pnpm i && pnpm test",
"clean": "pnpm dlx shx rm -rf ./test/js ./node_modules pnpm-lock.yaml ./wdio-logs* ./out",
"init-e2es": "pnpm dlx shx mkdir -p ./test/js && rollup -c rollup.config.js",
"logs": "pnpm dlx shx cat ./wdio-logs*/*.log",
"test:e2e:forge-cjs": "cross-env DEBUG=wdio-electron-service EXAMPLE_DIR=forge-cjs pnpm run exec",
"test:e2e:forge-esm": "cross-env DEBUG=wdio-electron-service EXAMPLE_DIR=forge-esm pnpm run exec",
"test:e2e:builder-cjs": "cross-env DEBUG=wdio-electron-service EXAMPLE_DIR=builder-cjs pnpm run exec",
"test:e2e:builder-esm": "cross-env DEBUG=wdio-electron-service EXAMPLE_DIR=builder-esm pnpm run exec",
"test:e2e-mac-universal:forge-cjs": "cross-env DEBUG=wdio-electron-service EXAMPLE_DIR=forge-cjs pnpm run exec",
"test:e2e-mac-universal:forge-esm": "cross-env DEBUG=wdio-electron-service EXAMPLE_DIR=forge-esm pnpm run exec",
"test:e2e-mac-universal:builder-cjs": "cross-env DEBUG=wdio-electron-service EXAMPLE_DIR=builder-cjs pnpm run exec",
"test:e2e-mac-universal:builder-esm": "cross-env DEBUG=wdio-electron-service EXAMPLE_DIR=builder-esm pnpm run exec",
"test:e2e:no-binary-cjs": "cross-env DEBUG=wdio-electron-service EXAMPLE_DIR=no-binary-cjs pnpm run exec-no-binary",
"test:e2e:no-binary-esm": "cross-env DEBUG=wdio-electron-service EXAMPLE_DIR=no-binary-esm pnpm run exec-no-binary",
"exec": "pnpm run exec:js && pnpm run exec:main && pnpm run exec:multiremote && pnpm run exec:standalone",
"exec-no-binary": "pnpm run exec-no-binary:js && pnpm run exec-no-binary:main && pnpm run exec-no-binary:multiremote && pnpm run exec-no-binary:standalone",
"exec-no-binary:js": "xvfb-maybe wdio run ./wdio.no-binary.conf.js",
"exec-no-binary:main": "xvfb-maybe wdio run ./wdio.no-binary.conf.ts",
"exec-no-binary:multiremote": "xvfb-maybe wdio run ./wdio.no-binary.multiremote.conf.ts",
"exec-no-binary:standalone": "xvfb-maybe tsx ./test/standalone/api.no-binary.spec.ts",
"exec:js": "xvfb-maybe wdio run ./wdio.conf.js",
"exec:main": "xvfb-maybe wdio run ./wdio.conf.ts",
"exec:multiremote": "xvfb-maybe wdio run ./wdio.multiremote.conf.ts",
"exec:standalone": "xvfb-maybe tsx ./test/standalone/api.spec.ts",
"exec:standalone:local": "cd .. && pnpm build && cd - && shx rm -rf ./node_modules && pnpm i && pnpm test:standalone"
},
"dependencies": {
"@testing-library/webdriverio": "^3.2.1",
"@wdio/cli": "^9.4.2",
"@wdio/electron-utils": "workspace:*",
"@wdio/globals": "^9.4.2",
"@wdio/local-runner": "^9.4.2",
"@wdio/mocha-framework": "^9.4.2",
"electron": "^33.2.1",
"tsx": "^4.19.2",
"wdio-electron-service": "workspace:*",
"webdriverio": "^9.4.2",
"xvfb-maybe": "^0.2.1"
},
"devDependencies": {
"@electron-forge/cli": "^7.6.0",
"@rollup/plugin-typescript": "^12.1.1",
"@types/mocha": "^10.0.10",
"@types/node": "^22.10.2",
"@vitest/spy": "^2.1.8",
"@wdio/electron-types": "workspace:*",
"read-package-up": "^11.0.0",
"rollup": "^4.28.1",
"typescript": "^5.7.2"
}
}