Repository navigation
Expand file tree
/
Copy pathpackage.json
More file actions
115 lines (115 loc) · 6.85 KB
/
Copy pathpackage.json
File metadata and controls
115 lines (115 loc) · 6.85 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
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
{
"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@12.4.2+sha512.08adc6613180275c7c9edada39dcf08c9c61ad4e7eaf330a4f3461f102b0f907423454d117f98e72d47fef0616070644d7bffc973a6a57f5090a6d7c368b07c9",
"scripts": {
"build": "turbo run build --filter=./packages/* --filter=./e2e",
"build:electron": "turbo run build --filter=@wdio/electron-service --filter=@wdio/native-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": "node ./scripts/switch-catalog.ts default",
"catalog:minimum": "node ./scripts/switch-catalog.ts minimum",
"catalog:next": "node ./scripts/switch-catalog.ts next",
"catalog:update": "node ./scripts/update-catalogs.ts",
"catalog:update:dry": "node ./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:electron-script": "pnpm --filter @repo/e2e run test:e2e:electron-script",
"e2e:electron-browser": "pnpm --filter @repo/e2e run test:e2e:electron-browser",
"e2e:tauri-browser": "pnpm --filter @repo/e2e run test:e2e:tauri-browser",
"e2e:dioxus-browser": "pnpm --filter @repo/e2e run test:e2e:dioxus-browser",
"e2e:multiremote": "pnpm --filter @repo/e2e run test:e2e:multiremote",
"e2e:standalone": "pnpm --filter @repo/e2e run test:e2e:standalone",
"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",
"e2e:window": "pnpm --filter @repo/e2e run test:e2e:window",
"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": "node ./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": "node ./scripts/create-task-graph.ts ./.github/assets/e2e-graph-tauri.png test:e2e:tauri",
"graph:e2e:mac-universal": "node ./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",
"release:dry-run": "node ./scripts/release-dry-run.ts",
"version:dioxus-bridge": "node ./scripts/bump-dioxus-bridge-version.ts",
"version:dioxus-bridge:check": "node ./scripts/bump-dioxus-bridge-version.ts --check",
"test": "turbo run test",
"test:coverage": "turbo run test:coverage",
"test:integration": "turbo run test:integration",
"smoke:autoinstall-driver": "node ./scripts/smoke-appium-autoinstall.ts",
"test:package": "node ./scripts/test-package.ts",
"test:package:electron": "pnpx cross-env DEBUG=@wdio/electron-service node ./scripts/test-package.ts --service=electron",
"test:package:electron:browser": "pnpx cross-env DEBUG=@wdio/electron-service node ./scripts/test-package.ts --service=electron --mode=browser",
"test:package:tauri": "node ./scripts/test-package.ts --service=tauri",
"test:package:tauri:browser": "pnpx cross-env DEBUG=@wdio/tauri-service node ./scripts/test-package.ts --service=tauri --mode=browser",
"test:package:dioxus": "node ./scripts/test-package.ts --service=dioxus",
"test:package:dioxus:browser": "node ./scripts/test-package.ts --service=dioxus --mode=browser",
"test:package:electrobun": "node ./scripts/test-package.ts --service=electrobun",
"test:package:react-native": "node ./scripts/test-package.ts --service=react-native",
"test:package:flutter": "node ./scripts/test-package.ts --service=flutter",
"test:unit": "turbo run test:unit",
"typecheck": "turbo run typecheck",
"update:dependencies": "pnpm catalog:update --default && pnpm catalog:update --next && pnpm up -iLr && node ./scripts/strip-fixture-catalogs.ts",
"update:releasekit": "node ./scripts/update-releasekit.ts",
"update:tauri": "node ./scripts/update-tauri-version.ts",
"test:scripts": "vitest run --config vitest.scripts.config.ts",
"typecheck:scripts": "tsc --noEmit -p tsconfig.scripts.json"
},
"devDependencies": {
"@biomejs/biome": "2.5.15",
"@inquirer/prompts": "^8.7.3",
"@octokit/rest": "^22.0.1",
"@releasekit/release": "^0.41.2",
"@types/node": "^26.6.4",
"@types/shelljs": "^0.10.0",
"@typescript-eslint/parser": "^8.71.0",
"@vitest/eslint-plugin": "^1.6.27",
"chalk": "^6.0.1",
"cross-env": "^10.1.0",
"eslint": "^10.12.0",
"eslint-plugin-wdio": "^9.31.3",
"globals": "^17.13.0",
"husky": "^9.1.7",
"lint-staged": "^17.6.0",
"ora": "^9.4.1",
"shelljs": "^0.10.0",
"shx": "^0.4.0",
"turbo": "2.11.7",
"typescript": "^6.0.3",
"vitest": "^5.0.3",
"yaml": "^2.9.1"
},
"lint-staged": {
"**/*.{j,t}s": [
"biome check --write --no-errors-on-unmatched",
"eslint --fix --cache"
],
"**/*.json": [
"biome format --write --no-errors-on-unmatched"
]
}
}