forked from AppiumTestDistribution/appium-device-farm
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
145 lines (145 loc) · 4.88 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
{
"name": "appium-device-farm",
"version": "2.0.0-beta.1",
"description": "An appium 2.0 plugin that manages and create driver session on available devices",
"main": "./lib/index.js",
"scripts": {
"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": "wait-on http://localhost:31337/device-farm/ && mocha --require ts-node/register -p ./test/e2e/android/*.spec.js --timeout 260000",
"test-parallel-ios": "wait-on http://localhost:4723/device-farm/ && mocha --require ts-node/register -p ./test/e2e/ios/*.spec.js --timeout 260000",
"test-e2e": "wait-on http://localhost:31337/device-farm/ && mocha --require ts-node/register ./test/e2e/*.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)",
"reinstall-plugin": "npm run appium-home && (appium plugin uninstall device-farm || exit 0) && npm run install-plugin",
"run-server": "APPIUM_HOME=/tmp/some-temp-dir appium server -ka 800 --config=./server-config.json --use-plugins=device-farm -pa /wd/hub"
},
"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.2",
"appium-adb": "^9.5.0",
"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",
"get-port": "^5.1.1",
"http-proxy-middleware": "^2.0.6",
"lodash": "^4.17.21",
"lokijs": "^1.5.12",
"node-cache": "^5.1.2",
"node-schedule": "^2.0.0",
"node-simctl": "^7.0.0",
"ramda": "^0.28.0",
"reflect-metadata": "^0.1.13",
"tcp-port-used": "^1.0.2",
"typedi": "^0.10.0",
"uuid": "^8.3.2",
"yargs": "^17.5.1"
},
"peerDependencies": {
"appium": "^2.0.0-beta.43"
},
"devDependencies": {
"@appium/types": "0.4.0",
"@babel/core": "7.18.13",
"@babel/plugin-proposal-class-properties": "7.18.6",
"@types/async-lock": "1.1.5",
"@types/chai": "4.3.3",
"@types/express": "4.17.13",
"@types/lodash": "4.14.184",
"@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.12",
"@typescript-eslint/eslint-plugin": "5.36.1",
"@typescript-eslint/parser": "5.36.1",
"babel-eslint": "10.1.0",
"chai": "4.3.6",
"eslint": "7.32.0",
"eslint-config-prettier": "8.5.0",
"eslint-plugin-import": "2.26.0",
"eslint-plugin-prettier": "3.4.1",
"husky": "7.0.4",
"ip": "1.1.8",
"lint-staged": "12.5.0",
"mocha": "9.2.2",
"prettier": "2.7.1",
"ramda": "0.28.0",
"sinon": "12.0.1",
"ts-node": "10.9.1",
"typescript": "4.8.2",
"wait-on": "6.0.1",
"webdriverio": "7.23.0"
},
"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"
},
"include-simulators": {
"type": "boolean"
},
"remote": {
"type": "array"
}
},
"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"
]
}