forked from webdriverio/webdriverio
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
132 lines (132 loc) · 5.84 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
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
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
{
"name": "webdriverio-monorepo",
"private": true,
"type": "module",
"packageManager": "[email protected]",
"scripts": {
"create": "tsx ./scripts/generateSubPackage.ts",
"backport": "tsx ./scripts/backport.ts",
"build": "run-s clean:build generate compile copy",
"changelog": "tsx ./scripts/changelog.ts",
"ci": "run-s setup test test:e2e",
"clean": "run-p clean:*",
"clean:build": "rimraf --glob ./packages/*/build",
"clean:pkglock": "rimraf --glob ./packages/*/package-lock.json",
"clean:tgz": "rimraf --glob ./packages/*/*.tgz",
"clean:website": "rimraf --glob website/docs/_*.md website/docs/api/_*.md website/docs/api/**/_*.md website/sidebars.json",
"clean:tests": "rimraf --glob tests/typings/**/node_modules tests/typings/**/dist ./coverage",
"clean:cache": "rimraf --glob .eslintcache",
"clean:protocols": "rimraf --glob packages/wdio-protocols/src/commands",
"clean:cddl": "rimraf --glob scripts/bidi/cddl",
"compile": "tsx ./scripts/build.ts",
"copy": "cd packages/wdio-cli && pnpm copy && cd ../../",
"generate": "run-s generate:*",
"generate:bidi": "tsx ./scripts/bidi/index.ts",
"generate:typings": "tsx ./scripts/type-generation/generate-all-typings.ts",
"link": "tsx ./scripts/link.ts",
"pushReleaseTag": "tsx ./scripts/pushTags.ts",
"setup": "run-s clean link build",
"docs": "run-s docs:*",
"docs:setup": "cd ./website && pnpm install && cd ..",
"docs:generate": "run-s clean:website generate:bidi && tsx ./scripts/docs-generation/generateDocs.ts",
"docs:build": "cd ./website && pnpm build && cd ..",
"docs:deploy": "tsx ./scripts/updateDocs.ts",
"test": "run-s test:eslint test:ejslint test:typings test:unit:run test:smoke test:component",
"test:depcheck": "tsx ./scripts/depcheck.ts",
"test:eslint": "eslint --cache packages examples scripts tests",
"test:ejslint": "ejslint packages/wdio-cli/src/templates/**/*",
"test:typings": "echo \"FIX ME: run-s test:typings:*\"",
"test:typings:setup": "node tests/typings/setup.js && npm i --no-save tsd",
"test:typings:test": "pnpm ts && pnpm clean:tests && node tests/typings/setup.js --ts=3.9 && pnpm ts && pnpm clean:tests",
"test:typings:recover": "rimraf ./node_modules/.bin/tsc && shx ln -s ../typescript/bin/tsc node_modules/.bin/tsc && npx rimraf @tsd/typescript",
"test:unit": "run-s test:unit:run",
"test:unit:run": "vitest --config vitest.config.ts --run",
"test:unit:watch": "vitest --config vitest.config.ts --watch",
"test:component": "run-s test:component:*",
"test:component:run": "cd e2e && pnpm test:browser",
"test:smoke": "node ./tests/smoke.runner.js",
"test:e2e": "vitest --config e2e/vitest.config.ts --run",
"test:e2e:webdriver": "tsx ./packages/wdio-cli/bin/wdio.js ./e2e/wdio/wdio.local.conf.ts",
"test:e2e:cloud": "tsx ./packages/wdio-cli/bin/wdio.js ./e2e/wdio/wdio.sauce.conf.ts",
"test:e2e:cjs": "node e2e/interop/webdriverio.e2e.js && node e2e/interop/webdriver.e2e.js && node e2e/interop/cucumber-framework.e2e.js && node e2e/interop/allure-reporter.e2e.js && node e2e/interop/shared-store.e2e.js && node e2e/interop/wdio-cli.e2e.js && node e2e/interop/wdio-reporter.e2e.js",
"ts": "run-p ts:*",
"ts:webdriver": "cd tests/typings/webdriver && npx tsc --skipLibCheck",
"ts:devtools": "cd tests/typings/devtools && npx tsc --skipLibCheck",
"ts:webdriverio": "cd tests/typings/webdriverio && npx tsc --skipLibCheck",
"ts:mocha": "cd tests/typings/mocha && npx tsc --skipLibCheck",
"ts:jasmine": "cd tests/typings/jasmine && npx tsc --skipLibCheck",
"ts:cucumber": "cd tests/typings/cucumber && npx tsc --skipLibCheck",
"watch": "tsx ./scripts/build.ts --watch",
"watch:docs": "pnpm docs:generate && cd website && npm i && npm start",
"version": "pnpm changelog && git add CHANGELOG.md",
"postinstall": "run-s postinstall:*",
"postinstall:husky": "husky"
},
"devDependencies": {
"@aws-sdk/client-cloudfront": "^3.556.0",
"@aws-sdk/client-s3": "^3.556.0",
"@aws-sdk/lib-storage": "^3.556.0",
"@octokit/rest": "^20.1.0",
"@preact/preset-vite": "^2.8.2",
"@serenity-js/core": "^3.22.1",
"@stencil/core": "^4.16.0",
"@sveltejs/vite-plugin-svelte": "^3.1.0",
"@types/archiver": "^6.0.2",
"@types/cheerio": "^0.22.35",
"@types/eslint": "^8.56.10",
"@types/inquirer": "^9.0.7",
"@types/lodash.clonedeep": "^4.5.9",
"@types/lodash.zip": "^4.2.9",
"@types/mime-types": "^2.1.4",
"@types/mocha": "^10.0.6",
"@types/node": "^20.12.7",
"@types/shelljs": "^0.8.15",
"@types/split2": "^4.2.3",
"@types/unzipper": "^0.10.9",
"@types/uuid": "^9.0.8",
"@typescript-eslint/eslint-plugin": "^7.7.0",
"@typescript-eslint/parser": "^7.7.0",
"@typescript-eslint/utils": "^7.7.0",
"@vitejs/plugin-react": "^4.2.1",
"@vitejs/plugin-vue": "^5.0.4",
"@vitest/coverage-v8": "^1.5.0",
"camelcase": "^8.0.0",
"cddl": "^0.8.5",
"cddl2ts": "^0.2.2",
"chalk": "^5.3.0",
"cheerio": "1.0.0-rc.12",
"cli-highlight": "^2.1.11",
"copyfiles": "^2.4.1",
"depcheck": "^1.4.7",
"dox": "^1.0.0",
"ejs": "^3.1.10",
"ejs-lint": "^2.0.0",
"eslint": "^8.57.0",
"eslint-plugin-import": "^2.29.1",
"eslint-plugin-unicorn": "^52.0.0",
"eslint-plugin-wdio": "workspace:*",
"eta": "^3.4.0",
"glob": "^10.3.12",
"husky": "^9.0.11",
"inquirer": "^9.2.19",
"jsdom": "^24.0.0",
"lerna": "^8.1.2",
"lerna-changelog": "^2.2.0",
"mime-types": "^2.1.35",
"npm-run-all2": "^6.1.2",
"recast": "^0.23.6",
"recursive-readdir": "^2.2.3",
"rimraf": "^5.0.5",
"shelljs": "^0.8.5",
"shx": "^0.3.4",
"tempy": "^3.1.0",
"ts-node": "^10.9.2",
"tsx": "^4.7.2",
"typescript": "^5.4.5",
"unzipper": "^0.11.3",
"vitest": "^1.5.0"
},
"engines": {
"pnpm": ">=8.15.3"
}
}