-
-
Notifications
You must be signed in to change notification settings - Fork 6k
/
package.json
189 lines (189 loc) · 6.94 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
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
{
"name": "appium-monorepo",
"version": "0.0.0",
"private": true,
"description": "Automation for Apps.",
"keywords": [
"automation",
"javascript",
"selenium",
"webdriver",
"ios",
"android",
"firefoxos",
"testing"
],
"homepage": "https://appium.io",
"bugs": {
"url": "https://github.com/appium/appium/issues"
},
"repository": {
"type": "git",
"url": "https://github.com/appium/appium.git"
},
"license": "Apache-2.0",
"author": "https://github.com/appium",
"scripts": {
"build": "run-s build:distfiles build:types",
"build:distfiles": "lerna run --parallel --prefix --concurrency=8 build",
"build:loose": "run-s -c build:distfiles build:types || true",
"prebuild:schema": "node ./scripts/generate-schema-json.js",
"build:schema": "lerna run --scope=@appium/types generate-schema-declarations",
"prebuild:types": "npm run build:schema",
"build:types": "tsc -b",
"clean": "run-s clean:*",
"clean:distfiles": "npx rimraf \"packages/*/build\"",
"clean:monorepo": "npx rimraf node_modules package-lock.json",
"clean:packages": "lerna clean -y && npx rimraf \"packages/*/package-lock.json\"",
"clean:distfiles": "npx rimraf \"packages/*/build\"",
"clean:types": "tsc -b --clean",
"dev": "lerna run --parallel --prefix --concurrency=8 dev",
"dev:types": "tsc -b --watch",
"doctor": "node ./packages/doctor",
"e2e-test": "lerna run --parallel --max-buffer=128 test:e2e",
"generate-docs": "lerna run --scope=appium generate-docs",
"postinstall": "npm run build:loose",
"install-fake-driver": "npm start -- driver install --source=local ./packages/fake-driver",
"lint": "eslint .",
"lint:fix": "npm run lint -- --fix",
"precommit-lint": "lint-staged",
"precommit-msg": "echo 'Pre-commit checks...'",
"prepublishOnly": "npm run build",
"reinstall": "run-s clean install",
"start": "appium",
"sync-pkgs": "run-p sync-pkgs:*",
"sync-pkgs:appium-readme": "sync-monorepo-packages --force --no-package-json --packages=packages/appium README.md",
"sync-pkgs:common-fields": "sync-monorepo-packages --fields=author,license,bugs,homepage,engines",
"sync-pkgs:keywords": "sync-monorepo-packages --field=keywords --packages=\"packages/*\" --packages=\"!packages/eslint-config-appium\"",
"pretest": "npm run build",
"test": "lerna run test",
"posttest": "npm run lint",
"test:appium": "lerna run --scope=appium test",
"test:base-driver": "lerna run --scope=@appium/base-driver test",
"pretest:ci": "npm run build:distfiles",
"test:ci": "lerna run test",
"test:doctor": "lerna run --scope=@appium/doctor test",
"test:e2e:appium": "lerna run --scope=appium test:e2e",
"test:e2e:base-driver": "lerna run --scope=@appium/base-driver test:e2e",
"test:e2e:fake-driver": "lerna run --scope=@appium/fake-driver test:e2e",
"test:e2e:gulp-plugins": "lerna run --scope=@appium/gulp-plugins test:e2e",
"test:e2e:opencv": "lerna run --scope=@appium/opencv test:e2e",
"test:e2e:support": "lerna run --scope=@appium/support test:e2e",
"test:fake-driver": "lerna run --scope=@appium/fake-driver test",
"test:gulp-plugins": "lerna run --scope=@appium/gulp-plugins test",
"test:opencv": "lerna run --scope=@appium/opencv test",
"test:support": "lerna run --scope=@appium/support test",
"test:test-support": "lerna run --scope=@appium/test-support test",
"uninstall-fake-driver": "npm start -- driver uninstall fake",
"upload": "gulp github-upload",
"preversion": "npm run sync-pkgs && git add -A packages/appium/README.md packages/*/package.json && npm run build:schema",
"zip": "zip -qr ./appium.zip ./packages/appium",
"zip-and-upload": "run-s zip upload"
},
"pre-commit": [
"precommit-msg",
"precommit-lint"
],
"lint-staged": {
"*.js": "eslint --fix",
"./packages/appium/lib/schema/appium-config-schema.js": "npm run build:schema"
},
"dependencies": {
"@appium/base-driver": "file:packages/base-driver",
"@appium/doctor": "file:packages/doctor",
"@appium/eslint-config-appium": "file:packages/eslint-config-appium",
"@appium/fake-driver": "file:packages/fake-driver",
"@appium/gulp-plugins": "file:packages/gulp-plugins",
"@appium/opencv": "file:packages/opencv",
"@appium/support": "file:packages/support",
"@appium/test-support": "file:packages/test-support",
"@appium/types": "file:packages/types",
"appium": "file:packages/appium"
},
"devDependencies": {
"@appium/fake-plugin": "1.3.1",
"@babel/cli": "7.17.6",
"@babel/core": "7.17.8",
"@babel/eslint-parser": "7.17.0",
"@babel/plugin-transform-runtime": "7.17.0",
"@babel/preset-env": "7.16.11",
"@babel/register": "7.17.7",
"@babel/runtime": "7.17.8",
"@colors/colors": "1.5.0",
"@types/archiver": "5.3.1",
"@types/argparse": "2.0.10",
"@types/async-lock": "1.1.3",
"@types/base64-stream": "1.0.1",
"@types/bluebird": "3.5.36",
"@types/chai": "4.3.0",
"@types/chai-as-promised": "7.1.5",
"@types/express": "4.17.13",
"@types/fancy-log": "1.3.1",
"@types/find-root": "1.1.2",
"@types/gulp": "4.0.9",
"@types/jsftp": "2.1.2",
"@types/json-schema": "7.0.11",
"@types/klaw": "3.0.3",
"@types/lockfile": "1.0.2",
"@types/method-override": "0.0.32",
"@types/mocha": "9.1.0",
"@types/mv": "2.1.2",
"@types/ncp": "2.0.5",
"@types/node": "16.11.26",
"@types/npmlog": "4.1.4",
"@types/pluralize": "0.0.29",
"@types/pngjs": "6.0.1",
"@types/rimraf": "3.0.2",
"@types/semver": "7.3.9",
"@types/serve-favicon": "2.5.3",
"@types/shell-quote": "1.7.1",
"@types/sinon": "10.0.11",
"@types/sinon-chai": "3.2.8",
"@types/through2": "2.0.36",
"@types/uuid": "8.3.4",
"@wdio/types": "7.19.1",
"appium-base-driver": "7.11.3",
"asyncbox": "2.9.2",
"babel-plugin-istanbul": "6.1.1",
"babel-plugin-source-map-support": "2.1.3",
"chai": "4.3.6",
"chai-as-promised": "7.1.1",
"chai-webdriverio-async": "2.6.0",
"eslint": "7.32.0",
"eslint-find-rules": "4.1.0",
"eslint-plugin-import": "2.25.4",
"eslint-plugin-mocha": "9.0.0",
"eslint-plugin-promise": "6.0.0",
"fancy-log": "1.3.3",
"finalhandler": "1.2.0",
"get-port": "5.1.1",
"gulp": "4.0.2",
"handlebars": "4.7.7",
"json-schema-to-typescript": "10.1.5",
"lerna": "4.0.0",
"lint-staged": "12.3.7",
"log-symbols": "4.1.0",
"mjpeg-server": "0.3.1",
"mocha": "9.2.2",
"npm-run-all": "4.1.5",
"pre-commit": "1.2.2",
"rewiremock": "3.14.3",
"serve-static": "1.15.0",
"sinon": "13.0.1",
"sinon-chai": "3.7.0",
"sync-monorepo-packages": "0.3.4",
"through2": "4.0.2",
"type-fest": "2.12.1",
"typescript": "4.6.3",
"validate.js": "0.13.1",
"webdriverio": "6.12.1",
"yaml-js": "0.3.1"
},
"engines": {
"node": ">=12",
"npm": ">=6"
},
"publishConfig": {
"access": "public"
}
}