forked from webdriverio/webdriverio
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
133 lines (133 loc) · 6.34 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
133
{
"name": "webdriverio-monorepo",
"private": true,
"type": "module",
"workspaces": [
"packages/*"
],
"scripts": {
"create": "node --loader ts-node/esm ./scripts/generateSubPackage.ts",
"backport": "node --loader ts-node/esm ./scripts/backport.ts",
"build": "run-s clean:build generate compile copy",
"changelog": "node --loader ts-node/esm ./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": "node --loader ts-node/esm ./scripts/build.ts",
"copy": "cd packages/wdio-cli && npm run copy && cd ../../",
"generate": "run-s generate:*",
"generate:bidi": "node --loader ts-node/esm ./scripts/bidi/index.ts",
"generate:typings": "node --loader ts-node/esm ./scripts/type-generation/generate-all-typings.ts",
"link": "node --loader ts-node/esm ./scripts/link.ts",
"pushReleaseTag": "node --loader ts-node/esm ./scripts/pushTags.ts",
"setup": "run-s clean link build",
"docs": "run-s docs:*",
"docs:setup": "cd ./website && npm install && cd ..",
"docs:generate": "run-s clean:website generate:bidi && node --loader ts-node/esm ./scripts/docs-generation/generateDocs.ts",
"docs:build": "cd ./website && npm run build && cd ..",
"docs:deploy": "node --loader ts-node/esm ./scripts/updateDocs.ts",
"test": "run-s test:eslint test:ejslint test:typings test:unit:run test:smoke test:component",
"test:depcheck": "node --loader ts-node/esm ./scripts/depcheck.ts",
"test:eslint": "eslint --cache packages examples scripts tests",
"test:ejslint": "ejslint packages/wdio-cli/src/templates/**/*",
"test:typings": "run-s test:typings:*",
"test:typings:setup": "node tests/typings/setup.js && npm i --no-save tsd",
"test:typings:test": "npm run ts && npm run clean:tests && node tests/typings/setup.js --ts=3.9 && npm run ts && npm run 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:setup": "cd e2e && npm install",
"test:component:run": "cd e2e && npm run test:browser",
"test:smoke": "node ./tests/smoke.runner.js",
"test:e2e": "vitest --config e2e/vitest.config.ts --run",
"test:e2e:edge": "vitest --config e2e/standalone/vitest.config.ts edge.e2e.ts",
"test:e2e:firefox": "vitest --config e2e/standalone/vitest.config.ts firefox.e2e.ts",
"test:e2e:webdriver": "node --loader ts-node/esm ./packages/wdio-cli/bin/wdio.js ./e2e/wdio/wdio.local.conf.ts",
"test:e2e:cloud": "node --loader ts-node/esm ./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/devtools.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": "node --loader ts-node/esm ./scripts/build.ts --watch",
"watch:docs": "npm run docs:generate && cd website && npm i && npm start",
"version": "npm run changelog && git add CHANGELOG.md",
"postinstall": "run-s postinstall:*",
"postinstall:husky": "husky install"
},
"devDependencies": {
"@aws-sdk/client-cloudfront": "^3.465.0",
"@aws-sdk/client-s3": "^3.465.0",
"@aws-sdk/lib-storage": "^3.465.0",
"@octokit/rest": "^19.0.13",
"@preact/preset-vite": "^2.7.0",
"@serenity-js/core": "^3.14.0",
"@stencil/core": "^4.8.1",
"@sveltejs/vite-plugin-svelte": "^2.4.4",
"@types/archiver": "^6.0.2",
"@types/cheerio": "^0.22.35",
"@types/eslint": "^8.44.8",
"@types/inquirer": "^9.0.7",
"@types/lodash.clonedeep": "^4.5.9",
"@types/lodash.zip": "^4.2.9",
"@types/mime-types": "^2.1.4",
"@types/node": "^20.10.3",
"@types/shelljs": "^0.8.15",
"@types/split2": "^4.2.3",
"@types/unzipper": "^0.10.9",
"@types/uuid": "^9.0.7",
"@typescript-eslint/eslint-plugin": "^6.13.2",
"@typescript-eslint/parser": "^6.13.2",
"@typescript-eslint/utils": "^6.13.2",
"@vitejs/plugin-react": "^4.2.1",
"@vitejs/plugin-vue": "^4.5.1",
"@vitest/coverage-v8": "^1.0.1",
"camelcase": "^8.0.0",
"cddl": "^0.8.5",
"cddl2ts": "^0.2.2",
"chalk": "^5.3.0",
"cheerio": "^1.0.0-rc.12",
"copyfiles": "^2.4.1",
"depcheck": "^1.4.7",
"dox": "^1.0.0",
"ejs": "^3.1.9",
"ejs-lint": "^2.0.0",
"eslint": "^8.55.0",
"eslint-plugin-import": "^2.29.0",
"eslint-plugin-unicorn": "^49.0.0",
"eslint-plugin-wdio": "^8.24.9",
"eta": "^3.2.0",
"glob": "^10.3.10",
"husky": "^8.0.3",
"inquirer": "^9.2.12",
"jsdom": "^22.1.0",
"lerna": "^8.0.0",
"lerna-changelog": "^2.2.0",
"mime-types": "^2.1.35",
"npm-run-all": "^4.1.5",
"recast": "^0.23.4",
"recursive-readdir": "^2.2.3",
"request": "^2.88.2",
"rimraf": "^5.0.5",
"shelljs": "^0.8.5",
"shx": "^0.3.4",
"tempy": "^3.1.0",
"ts-node": "^10.9.1",
"typescript": "^5.3.2",
"unzipper": "^0.10.14",
"url-join": "^5.0.0",
"vitest": "^1.0.1"
}
}