forked from webdriverio-community/wdio-electron-service
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
90 lines (90 loc) · 5.04 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
78
79
80
81
82
83
84
85
86
87
88
89
90
{
"name": "wdio-electron-service-monorepo",
"private": true,
"version": "7.4.0-next.1",
"type": "module",
"engines": {
"node": ">=18 || >=20"
},
"scripts": {
"build": "turbo run build --filter=@wdio* --filter=wdio-electron-service --only",
"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.15.0",
"@types/eslint-config-prettier": "^6.11.2",
"@types/node": "^22.9.1",
"@types/shelljs": "^0.8.15",
"@typescript-eslint/eslint-plugin": "^8.15.0",
"@typescript-eslint/parser": "^8.15.0",
"@vitest/eslint-plugin": "^1.1.10",
"cross-env": "^7.0.3",
"eslint": "^9.15.0",
"eslint-config-prettier": "^9.1.0",
"eslint-import-resolver-typescript": "^3.6.3",
"eslint-plugin-import-x": "^4.4.3",
"eslint-plugin-wdio": "^9.2.11",
"globals": "^15.12.0",
"husky": "^9.1.7",
"lint-staged": "^15.2.10",
"prettier": "^3.3.3",
"read-package-up": "^11.0.0",
"release-it": "^17.10.0",
"shelljs": "^0.8.5",
"shx": "^0.3.4",
"tsx": "^4.19.2",
"turbo": "^2.3.0"
},
"lint-staged": {
"**/*.{yml,json,md,ts,js}": [
"prettier --write"
]
},
"packageManager": "[email protected]+sha512.beb9e2a803db336c10c9af682b58ad7181ca0fbd0d4119f2b33d5f2582e96d6c0d93c85b23869295b765170fbdaa92890c0da6ada457415039769edf3c959efe",
"release-it": {
"git": {
"commitMessage": "chore: release v${version}",
"tagName": "v${version}",
"requireCleanWorkingDir": false
},
"github": {
"release": true
},
"npm": {
"publish": false
}
}
}