forked from webdriverio/webdriverio
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
134 lines (134 loc) · 6.26 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
134
{
"name": "webdriverio-monorepo",
"private": true,
"type": "module",
"workspaces": [
"packages/*"
],
"scripts": {
"create": "node ./scripts/generateSubPackage",
"backport": "node ./scripts/backport.js",
"build": "run-s clean:build generate compile copy",
"changelog": "node ./scripts/changelog.js",
"ci": "run-s setup test test:e2e",
"clean": "run-p clean-full:* clean:*",
"clean:build": "rimraf --glob ./packages/*/build",
"clean:pkglock": "rimraf --glob ./packages/*/package-lock.json",
"clean:tgz": "rimraf --glob ./packages/*/*.tgz",
"clean:node_modules": "rimraf --glob ./packages/node_modules",
"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",
"clean-full:package_modules": "rimraf --glob ./packages/*/node_modules",
"compile": "node ./scripts/build.js",
"copy": "cd packages/wdio-cli && npm run copy && cd ../../",
"generate": "run-s generate:*",
"generate:bidi": "npx ts-node-esm ./scripts/bidi/index.ts",
"generate:typings": "node --loader ts-node/esm ./scripts/type-generation/generate-all-typings.ts",
"link": "node ./scripts/link.js",
"pushReleaseTag": "node ./scripts/pushTags.js",
"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 ./scripts/updateDocs.js",
"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",
"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 ./scripts/build.js --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",
"postinstall:vulnerabilities": "node ./.husky/postinstall.js"
},
"devDependencies": {
"@cucumber/cucumber": "^9.3.0",
"@octokit/rest": "^19.0.13",
"@preact/preset-vite": "^2.5.0",
"@stencil/core": "^4.0.4",
"@sveltejs/vite-plugin-svelte": "^2.4.4",
"@tsconfig/node18": "^18.2.0",
"@types/archiver": "^5.3.2",
"@types/cheerio": "^0.22.31",
"@types/ejs": "^3.1.2",
"@types/eslint": "^8.44.2",
"@types/inquirer": "^9.0.3",
"@types/lodash.clonedeep": "^4.5.7",
"@types/lodash.zip": "^4.2.7",
"@types/node": "^20.4.9",
"@types/shelljs": "^0.8.12",
"@types/split2": "^4.2.0",
"@types/unzipper": "^0.10.6",
"@types/uuid": "^9.0.2",
"@typescript-eslint/eslint-plugin": "^6.3.0",
"@typescript-eslint/parser": "^6.3.0",
"@typescript-eslint/utils": "^6.3.0",
"@vitejs/plugin-react": "^4.0.4",
"@vitejs/plugin-vue": "^4.2.3",
"@vitest/coverage-v8": "^0.34.1",
"aws-sdk": "^2.1433.0",
"camelcase": "^8.0.0",
"cddl": "^0.8.4",
"cddl2ts": "^0.2.1",
"chalk": "^5.3.0",
"cheerio": "^1.0.0-rc.12",
"copyfiles": "^2.4.1",
"depcheck": "^1.4.3",
"ejs": "^3.1.9",
"ejs-lint": "^2.0.0",
"eslint": "^8.46.0",
"eslint-plugin-import": "^2.28.0",
"eslint-plugin-unicorn": "^48.0.1",
"eslint-plugin-wdio": "^8.8.7",
"glob": "^10.3.3",
"husky": "^8.0.3",
"inquirer": "^9.2.10",
"jsdom": "^22.1.0",
"lerna": "^7.1.5",
"lerna-changelog": "^2.2.0",
"markdox": "^0.1.10",
"mime-types": "^2.1.35",
"npm-run-all": "^4.1.5",
"recast": "^0.23.3",
"recursive-readdir": "^2.2.3",
"request": "^2.88.2",
"rimraf": "^5.0.1",
"shelljs": "^0.8.5",
"shx": "^0.3.4",
"tempy": "^3.1.0",
"ts-node": "^10.9.1",
"typescript": "^5.1.6",
"unzipper": "^0.10.14",
"url-join": "^5.0.0",
"vitest": "^0.34.1"
}
}