-
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathpackage.json
More file actions
93 lines (93 loc) · 5.29 KB
/
package.json
File metadata and controls
93 lines (93 loc) · 5.29 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
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
{
"name": "webdriverio-desktop-mobile-monorepo",
"version": "0.0.0",
"private": true,
"type": "module",
"description": "WebdriverIO services for cross-platform testing on Electron, Flutter, Neutralino, and Tauri",
"repository": {
"type": "git",
"url": "https://github.com/webdriverio/desktop-mobile.git"
},
"license": "MIT",
"author": "WebdriverIO Community",
"engines": {
"node": ">=24.11.0"
},
"packageManager": "pnpm@10.33.0+sha512.10568bb4a6afb58c9eb3630da90cc9516417abebd3fabbe6739f0ae795728da1491e9db5a544c76ad8eb7570f5c4bb3d6c637b2cb41bfdcdb47fa823c8649319",
"scripts": {
"build": "turbo run build --filter=./packages/* --filter=./e2e",
"build:electron": "turbo run build --filter=@wdio/electron-service --filter=@wdio/electron-cdp-bridge --filter=@wdio/native-types --filter=@wdio/native-utils --filter=@wdio/bundler",
"build:tauri": "turbo run build --filter=@wdio/tauri-service --filter=@wdio/tauri-plugin --filter=@wdio/native-types --filter=@wdio/native-utils --filter=@wdio/bundler",
"catalog:default": "tsx ./scripts/switch-catalog.ts default",
"catalog:minimum": "tsx ./scripts/switch-catalog.ts minimum",
"catalog:next": "tsx ./scripts/switch-catalog.ts next",
"catalog:update": "tsx ./scripts/update-catalogs.ts",
"catalog:update:dry": "tsx ./scripts/update-catalogs.ts --dry-run",
"ci:e2e:clean": "turbo run clean --filter=example*",
"ci:e2e:logs": "cd e2e && pnpm logs",
"clean": "turbo run clean && pnpm clean:cache && pnpm dlx shx rm -rf node_modules",
"clean:cache": "turbo daemon stop && pnpm dlx shx rm -rf .turbo .eslintcache",
"dev": "turbo run dev",
"e2e": "pnpm --filter @repo/e2e run test",
"e2e:electron-builder": "pnpm protocol-install:electron-builder && pnpm --filter @repo/e2e run test:e2e:electron-builder",
"e2e:electron-forge": "pnpm protocol-install:electron-forge && pnpm --filter @repo/e2e run test:e2e:electron-forge",
"e2e:multiremote": "pnpm --filter @repo/e2e run test:e2e:multiremote",
"e2e:electron-script": "pnpm --filter @repo/e2e run test:e2e:electron-script",
"e2e:standalone": "pnpm --filter @repo/e2e run test:e2e:standalone",
"e2e:window": "pnpm --filter @repo/e2e run test:e2e:window",
"e2e:tauri": "pnpm protocol-install:tauri && pnpm --filter @repo/e2e run test:e2e:tauri",
"e2e:tauri-basic": "pnpm protocol-install:tauri && pnpm --filter @repo/e2e run test:e2e:tauri-basic",
"protocol-install:tauri": "pnpm --filter @repo/e2e run protocol-install:tauri",
"protocol-install:electron-builder": "pnpm --filter @repo/e2e run protocol-install:electron-builder",
"protocol-install:electron-forge": "pnpm --filter @repo/e2e run protocol-install:electron-forge",
"format": "biome format --write .",
"format:check": "biome check --formatter-enabled=true --linter-enabled=false .",
"graph": "pnpm graph:e2e && pnpm graph:e2e:mac-universal && pnpm graph:e2e:tauri",
"graph:e2e": "tsx ./scripts/create-task-graph.ts ./.github/assets/e2e-graph.png test:e2e:electron-forge test:e2e:electron-builder test:e2e:electron-script",
"graph:e2e:tauri": "tsx ./scripts/create-task-graph.ts ./.github/assets/e2e-graph-tauri.png test:e2e:tauri",
"graph:e2e:mac-universal": "tsx ./scripts/create-task-graph.ts ./.github/assets/e2e-graph-mac-universal.png test:e2e-mac-universal:electron-builder test:e2e-mac-universal:electron-forge",
"lint": "biome check --formatter-enabled=false --linter-enabled=true . && eslint --cache \"**/*.{j,mj,cj,t}s\"",
"lint:fix": "biome check --write --formatter-enabled=false --linter-enabled=true . && eslint --cache --fix \"**/*.{j,mj,cj,t}s\"",
"lint:fix:unsafe": "biome check --write --unsafe --formatter-enabled=false --linter-enabled=true . && eslint --cache --fix \"**/*.{j,mj,cj,t}s\"",
"prepare": "husky",
"release": "turbo run release --filter=@wdio/electron-service --filter=@wdio/* --only --concurrency=1",
"test": "turbo run test",
"test:coverage": "turbo run test:coverage",
"test:integration": "turbo run test:integration",
"test:package": "pnpx tsx ./scripts/test-package.ts",
"test:package:electron": "pnpx cross-env DEBUG=@wdio/electron-service tsx ./scripts/test-package.ts --service=electron",
"test:package:tauri": "pnpx tsx ./scripts/test-package.ts --service=tauri",
"test:unit": "turbo run test:unit",
"typecheck": "turbo run typecheck",
"update:dependencies": "pnpm catalog:update --default && pnpm catalog:update --next && pnpm up -iLr",
"update:tauri": "tsx ./scripts/update-tauri-version.ts"
},
"devDependencies": {
"@biomejs/biome": "2.4.12",
"@inquirer/prompts": "^8.3.0",
"@releasekit/release": "^0.17.1",
"@types/node": "^25.5.0",
"@typescript-eslint/parser": "^8.57.0",
"@vitest/eslint-plugin": "^1.6.11",
"chalk": "^5.6.2",
"cross-env": "^10.1.0",
"eslint": "^10.0.3",
"eslint-plugin-wdio": "^9.25.0",
"globals": "^17.4.0",
"husky": "^9.1.7",
"lint-staged": "^16.3.3",
"ora": "^9.3.0",
"shx": "^0.4.0",
"tsx": "^4.21.0",
"turbo": "2.9.6",
"typescript": "^5.9.3",
"yaml": "^2.8.2"
},
"lint-staged": {
"**/*.{j,t}s": ["biome check --write", "eslint --fix --cache"],
"**/*.{yml,md,json}": ["biome format --write ."]
},
"pnpm": {
"onlyBuiltDependencies": ["esbuild", "electron", "electron-nightly"]
}
}