forked from webdriverio/webdriverio
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
117 lines (117 loc) · 5.43 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
{
"name": "webdriverio-monorepo",
"private": true,
"type": "module",
"scripts": {
"create": "node ./scripts/generateSubPackage",
"backport": "node ./scripts/backport.js",
"bootstrap-full": "npm run clean && lerna bootstrap --no-ci && npm run link",
"bootstrap": "run-p clean:* && lerna bootstrap --force-local && npm run link",
"build": "run-s clean:build generate:typings compile copy",
"changelog": "node ./scripts/changelog.js",
"ci": "run-s setup-full test test:e2e",
"clean": "run-p clean-full:* clean:*",
"clean:build": "rimraf ./packages/*/build",
"clean:pkglock": "rimraf ./packages/*/package-lock.json",
"clean:tgz": "rimraf ./packages/*/*.tgz",
"clean:node_modules": "rimraf ./packages/node_modules",
"clean:website": "rimraf website/docs/_*.md website/docs/api/_*.md website/docs/api/**/_*.md website/sidebars.json",
"clean:tests": "rimraf tests/typings/**/node_modules tests/typings/**/dist ./coverage",
"clean:cache": "rimraf .eslintcache",
"clean-full:package_modules": "rimraf ./packages/*/node_modules",
"compile": "node ./scripts/build.js",
"copy": "cd packages/wdio-cli && npm run copy && cd ../../",
"generate:typings": "ts-node-esm ./scripts/type-generation/generate-all-typings.ts",
"link": "node ./scripts/link.js",
"pushReleaseTag": "node ./scripts/pushTags.js",
"setup-full": "run-s bootstrap-full build",
"setup": "run-s bootstrap build",
"docs": "run-s docs:*",
"docs:setup": "cd ./website && npm install && cd ..",
"docs:generate": "npm run clean:website && 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:depcheck": "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": "vitest --config vitest.config.mts",
"test:unit:run": "vitest --config vitest.config.mts --run",
"test:unit:watch": "vitest --config vitest.config.mts --watch",
"test:smoke": "node ./tests/smoke.runner.js",
"test:e2e": "vitest --config e2e/vitest.config.ts",
"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: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",
"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": "^8.10.0",
"@octokit/rest": "^19.0.5",
"@tsconfig/node18": "^1.0.1",
"@types/archiver": "^5.3.1",
"@types/cheerio": "^0.22.31",
"@types/ejs": "^3.1.1",
"@types/eslint": "^8.4.10",
"@types/inquirer": "^9.0.3",
"@types/lodash.clonedeep": "^4.5.7",
"@types/lodash.zip": "^4.2.7",
"@types/node": "^18.11.18",
"@types/shelljs": "^0.8.11",
"@types/split2": "^3.2.1",
"@types/uuid": "^9.0.0",
"@typescript-eslint/eslint-plugin": "^5.48.2",
"@typescript-eslint/parser": "^5.48.2",
"@typescript-eslint/utils": "^5.48.2",
"@vitest/coverage-c8": "^0.27.2",
"aws-sdk": "^2.1296.0",
"c8": "^7.12.0",
"camelcase": "^7.0.1",
"chalk": "^5.2.0",
"cheerio": "^1.0.0-rc.12",
"chromedriver": "^109.0.0",
"copyfiles": "^2.4.1",
"depcheck": "^1.4.3",
"ejs": "^3.1.8",
"ejs-lint": "^2.0.0",
"eslint": "^8.32.0",
"eslint-plugin-import": "^2.27.5",
"eslint-plugin-unicorn": "^45.0.2",
"eslint-plugin-wdio": "^8.0.14",
"husky": "^8.0.3",
"inquirer": "^9.1.4",
"jsdom": "^21.0.0",
"lerna": "^6.4.1",
"lerna-changelog": "^2.2.0",
"markdox": "^0.1.10",
"mime-types": "^2.1.35",
"npm-run-all": "^4.1.5",
"recursive-readdir": "^2.2.3",
"request": "^2.88.2",
"rimraf": "^4.1.0",
"shelljs": "^0.8.5",
"shx": "^0.3.4",
"tempy": "^3.0.0",
"ts-node": "^10.9.1",
"typescript": "^4.9.4",
"url-join": "^5.0.0",
"vitest": "0.27.2"
}
}