-
Notifications
You must be signed in to change notification settings - Fork 18
/
package.json
77 lines (77 loc) · 4.81 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
{
"name": "wdio-electron-service-monorepo",
"private": true,
"version": "7.4.0-next.2",
"type": "module",
"engines": {
"node": ">=18 || >=20"
},
"scripts": {
"build": "turbo run build --filter=@wdio* --filter=wdio-electron-service --only --force",
"ci": "turbo run lint format:check test:unit test:e2e:builder-cjs test:e2e:builder-esm test:e2e:forge-cjs test:e2e:forge-esm test:e2e:no-binary-cjs test:e2e:no-binary-esm",
"ci-linux": "turbo run lint format:check test:unit test:e2e:builder-cjs test:e2e:builder-esm test:e2e:forge-cjs test:e2e:forge-esm test:e2e:no-binary-cjs test:e2e:no-binary-esm --concurrency=1",
"ci-mac:e2e:mac-universal": "turbo run build:mac-universal init-e2es test:e2e-mac-universal:builder-cjs test:e2e-mac-universal:builder-esm test:e2e-mac-universal:forge-cjs test:e2e-mac-universal:forge-esm --only",
"ci-windows:e2e:builder-cjs": "turbo run build --filter=example-builder-cjs --only && turbo run init-e2es test:e2e:builder-cjs --only",
"ci-windows:e2e:builder-esm": "turbo run build --filter=example-builder-esm --only && turbo run init-e2es test:e2e:builder-esm --only",
"ci-windows:e2e:forge-cjs": "pnpm run init-forge:package && pnpm run init-forge:app-cjs && turbo run build --filter=example-forge-cjs --only && turbo run init-e2es test:e2e:forge-cjs --only",
"ci-windows:e2e:forge-esm": "pnpm run init-forge:package && pnpm run init-forge:app-esm && turbo run build --filter=example-forge-esm --only && turbo run init-e2es test:e2e:forge-esm --only",
"ci-windows:e2e:no-binary": "turbo run build --filter=example-no-binary* --only && turbo run init-e2es test:e2e:no-binary-cjs test:e2e:no-binary-esm --only",
"ci-windows:units": "turbo run lint format:check test:unit",
"ci:e2e:clean": "turbo run clean --filter=example*",
"ci:e2e:logs": "turbo run logs --filter=@repo/e2e",
"clean": "turbo run clean && rm -rf node_modules || shx rm -rf node_modules",
"clean:yarn-artifacts": "tsx ./scripts/clean-yarn-artifacts.ts",
"dev": "turbo watch wdio-electron-service#build",
"format": "prettier --write \"**/*.{j,t}s\" \"**/*.{yml,md,json}\"",
"format:check": "prettier --check \"**/*.{j,t}s\" \"**/*.{yml,md,json}\"",
"graph": "pnpm graph:e2e && pnpm graph:e2e:mac-universal",
"graph:e2e": "tsx ./scripts/create-task-graph.ts ./.github/assets/e2e-graph.png test:e2e:forge-cjs test:e2e:forge-esm test:e2e:builder-cjs test:e2e:builder-esm test:e2e:no-binary-cjs test:e2e:no-binary-esm",
"graph:e2e:mac-universal": "tsx ./scripts/create-task-graph.ts ./.github/assets/e2e-graph-mac-universal.png test:e2e-mac-universal:builder-cjs test:e2e-mac-universal:builder-esm test:e2e-mac-universal:forge-cjs test:e2e-mac-universal:forge-esm",
"init-forge:package": "tsx ./scripts/create-yarn-package.ts",
"init-forge:package:mac-universal": "tsx ./scripts/create-yarn-package.ts",
"init-forge:app-cjs": "tsx ./scripts/init-forge-apps.ts cjs",
"init-forge:app-esm": "tsx ./scripts/init-forge-apps.ts esm",
"init-forge:apps": "tsx ./scripts/init-forge-apps.ts",
"init-forge:apps:mac-universal": "tsx ./scripts/init-forge-apps.ts",
"lint": "cross-env eslint \"**/*.{j,mj,cj,t}s\"",
"lint:fix": "cross-env eslint \"**/*.{j,mj,cj,t}s\" --fix",
"prepare": "husky",
"release": "turbo run release --filter=wdio-electron-service --filter=@wdio* --only --concurrency=1",
"test": "turbo run test:unit test:e2e",
"test:unit": "turbo run test:unit",
"test:e2e-local": "pnpm dlx cross-env pnpm clean && pnpm i && pnpm run ci && pnpm run clean:yarn-artifacts || pnpm run clean:yarn-artifacts",
"test:e2e-mac-universal-local": "pnpm dlx cross-env pnpm clean && pnpm i && turbo run build && test:e2e:mac-universal && pnpm run clean:yarn-artifacts || pnpm run clean:yarn-artifacts",
"update:all": "pnpm up -iLr"
},
"devDependencies": {
"@eslint/js": "^9.16.0",
"@turbo-version/version": "^0.8.1",
"@types/eslint-config-prettier": "^6.11.2",
"@types/node": "^22.10.2",
"@types/shelljs": "^0.8.15",
"@typescript-eslint/eslint-plugin": "^8.18.0",
"@typescript-eslint/parser": "^8.18.0",
"@vitest/eslint-plugin": "^1.1.16",
"cross-env": "^7.0.3",
"eslint": "^9.16.0",
"eslint-config-prettier": "^9.1.0",
"eslint-import-resolver-typescript": "^3.7.0",
"eslint-plugin-import-x": "^4.5.0",
"eslint-plugin-wdio": "^9.2.11",
"globals": "^15.13.0",
"husky": "^9.1.7",
"lint-staged": "^15.2.11",
"prettier": "^3.4.2",
"read-package-up": "^11.0.0",
"shelljs": "^0.8.5",
"shx": "^0.3.4",
"tsx": "^4.19.2",
"turbo": "^2.3.3"
},
"lint-staged": {
"**/*.{yml,json,md,ts,js}": [
"prettier --write"
]
},
"packageManager": "[email protected]+sha512.76e2379760a4328ec4415815bcd6628dee727af3779aaa4c914e3944156c4299921a89f976381ee107d41f12cfa4b66681ca9c718f0668fa0831ed4c6d8ba56c"
}