forked from AppiumTestDistribution/appium-device-farm
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
193 lines (193 loc) · 7.15 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
190
191
192
193
{
"name": "appium-device-farm",
"version": "5.7.0",
"description": "An appium 2.0 plugin that manages and create driver session on available devices",
"main": "./lib/index.js",
"scripts": {
"coverage": "nyc npm run test",
"test-remote": "mocha --require ts-node/register ./test/e2e/remote.spec.js --timeout 60000 --exit",
"test": "mocha -r ts-node/register ./test/unit/*.spec.js --plugin-device-farm-platform=both --exit --timeout=10000",
"test-jest": "NODE_OPTIONS=--experimental-vm-modules npx jest ./test/unit/AndroidDeviceManager.spec.js",
"test-parallel-android": "mocha --require ts-node/register -p ./test/e2e/android/*.spec.js --timeout 260000",
"test-parallel-bs": "wait-on http://localhost:31337/device-farm/ && mocha --require ts-node/register -p ./test/e2e/android/cloud/conf.spec.js --timeout 260000",
"test-parallel-pcloudy": "wait-on http://localhost:31337/device-farm/ && mocha --require ts-node/register -p ./test/e2e/android/cloud/pcloudy.spec.js --timeout 260000",
"test-parallel-sauce": "wait-on http://localhost:31337/device-farm/ && mocha --require ts-node/register -p ./test/e2e/android/cloud/sauce.spec.js --timeout 260000",
"test-parallel-lt": "wait-on http://localhost:31337/device-farm/ && mocha --require ts-node/register -p ./test/e2e/android/cloud/lambdaTest.spec.js --timeout 260000",
"test-parallel-ios": "mocha --require ts-node/register -p ./test/e2e/ios/conf1.spec.js --timeout 260000",
"test-e2e": "wait-on http://localhost:31337/device-farm/ && mocha --require ts-node/register ./test/e2e/plugin.spec.js --timeout 999999",
"test-e2e-browserstack": "wait-on http://localhost:31337/device-farm/ && mocha --require ts-node/register ./test/e2e/browserstack.spec.js --timeout 999999",
"test-e2e-pCloudy": "wait-on http://localhost:31337/device-farm/ && mocha --require ts-node/register ./test/e2e/pcloudy.spec.js --timeout 999999",
"integration-android": "mocha -r ts-node/register ./test/integration/androidDevices.spec.js --timeout 90000 --exit",
"integration-ios": "mocha -r ts-node/register ./test/integration/*iOS*.spec.js --timeout 260000 --exit",
"build": "npx tsc && npm run copy-files",
"copy-files": "cp -R src/public lib",
"buildAndCopyWeb": "sh buildAndCopyWeb.sh",
"prepublish": "npx tsc && npm run copy-files",
"lint": "eslint . --ext .ts,.tsx --fix",
"prettier": "prettier 'src/**/*.ts' 'web/**/*.ts' 'web/**/*.tsx' --write --single-quote",
"appium-home": "rm -rf rm -rf /tmp/some-temp-dir && export APPIUM_HOME=/tmp/some-temp-dir",
"install-plugin": "npm run build && appium plugin install --source=local $(pwd)",
"clear-cache": "rm -rf $HOME/.cache/appium-device-farm",
"install-driver": "export APPIUM_HOME=/tmp/some-temp-dir && appium driver install xcuitest",
"reinstall-plugin": "export APPIUM_HOME=/tmp/some-temp-dir && npm run appium-home && (appium plugin uninstall device-farm || exit 0) && npm run install-plugin",
"run-server": "export APPIUM_HOME=/tmp/some-temp-dir && appium server -ka 800 --use-plugins=device-farm,appium-dashboard -pa /wd/hub --plugin-device-farm-platform=ios --plugin-device-farm-max-sessions=8"
},
"repository": {
"type": "git",
"url": "https://github.com/AppiumTestDistribution/appium-device-farm"
},
"contributors": [
{
"name": "Saikrishna",
"email": "[email protected]"
},
{
"name": "Srinivasan Sekar",
"email": "[email protected]"
}
],
"license": "ISC",
"bugs": {
"url": "https://github.com/AppiumTestDistribution/appium-device-farm/issues"
},
"homepage": "https://github.com/AppiumTestDistribution/appium-device-farm#readme",
"dependencies": {
"@appium/base-plugin": "1.10.5",
"@appium/types": "0.10.0",
"@devicefarmer/adbkit": "^3.2.3",
"@types/node-persist": "^3.1.3",
"appium-adb": "^9.5.0",
"appium-chromedriver": "^5.2.1",
"appium-ios-device": "^2.4.1",
"async-lock": "^1.2.8",
"async-wait-until": "^2.0.5",
"axios": "^0.27.0",
"cors": "^2.8.5",
"express": "^4.17.1",
"fs-extra": "^11.1.0",
"get-port": "^5.1.1",
"go-ios": "^1.0.101",
"http-proxy-middleware": "^2.0.6",
"ip": "^1.1.8",
"lodash": "^4.17.21",
"lokijs": "^1.5.12",
"node-abort-controller": "^3.1.1",
"node-cache": "^5.1.2",
"node-persist": "^3.1.0",
"node-schedule": "^2.0.0",
"node-simctl": "^7.0.0",
"normalize-url": "6.1.0",
"nyc": "^15.1.0",
"ora": "5.4.1",
"ramda": "^0.28.0",
"reflect-metadata": "^0.1.13",
"semver": "^7.3.8",
"tcp-port-used": "^1.0.2",
"typedi": "^0.10.0",
"uuid": "^8.3.2",
"yargs": "^17.5.1"
},
"peerDependencies": {
"appium": "^2.0.0-beta.44"
},
"devDependencies": {
"@appium/fake-driver": "^5.1.5",
"@appium/plugin-test-support": "^0.3.7",
"@babel/core": "7.21.0",
"@babel/plugin-proposal-class-properties": "7.18.6",
"@types/async-lock": "1.4.0",
"@types/chai": "4.3.4",
"@types/express": "4.17.17",
"@types/fs-extra": "^11.0.0",
"@types/ip": "^1.1.0",
"@types/lodash": "4.14.191",
"@types/lokijs": "1.5.7",
"@types/mocha": "9.1.1",
"@types/node-schedule": "1.3.2",
"@types/tcp-port-used": "1.0.1",
"@types/uuid": "8.3.4",
"@types/yargs": "17.0.22",
"@typescript-eslint/eslint-plugin": "5.54.0",
"@typescript-eslint/parser": "5.54.0",
"appium-uiautomator2-driver": "^2.10.1",
"appium-xcuitest-driver": "^4.12.4",
"babel-eslint": "10.1.0",
"chai": "4.3.7",
"eslint": "7.32.0",
"eslint-config-prettier": "8.6.0",
"eslint-plugin-import": "2.27.5",
"eslint-plugin-prettier": "3.4.1",
"husky": "7.0.4",
"lint-staged": "12.5.0",
"mocha": "9.2.2",
"prettier": "2.8.4",
"ramda": "0.28.0",
"sinon": "12.0.1",
"sinon-chai": "^3.7.0",
"ts-node": "10.9.1",
"typescript": "4.9.5",
"wait-on": "6.0.1",
"webdriverio": "8.5.1"
},
"appium": {
"pluginName": "device-farm",
"mainClass": "DevicePlugin",
"schema": {
"$schema": "http://json-schema.org/draft-07/schema",
"additionalProperties": false,
"description": "Appium configuration schema for the Device Farm plugin.",
"properties": {
"platform": {
"type": "string"
},
"androidDeviceType": {
"type": "string",
"default": "both"
},
"iosDeviceType": {
"type": "string",
"default": "both"
},
"hub": {
"type": "string"
},
"adbRemote": {
"type": "array"
},
"skipChromeDownload": {
"type": "boolean"
},
"maxSessions": {
"type": "number"
},
"cloud": {
"type": "object"
},
"derivedDataPath": {
"type": "object"
}
},
"title": "Appium device farm plugin",
"type": "object"
}
},
"engines": {
"node": ">=10",
"npm": ">=6"
},
"lint-staged": {
"src/*.{js,jsx,ts,tsx,json,css,scss,md}": [
"npm run prettier",
"git add"
]
},
"husky": {
"hooks": {
"pre-commit": "lint-staged",
"pre-push": "npm run test"
}
},
"files": [
"lib"
]
}