farm-runner 1.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +80 -0
- package/dist/src/bundle.js +1 -0
- package/dist/src/common/middleware/trace.middleware.d.ts.map +1 -0
- package/dist/src/common/middleware/trace.middleware.js +56 -0
- package/dist/src/common/middleware/trace.middleware.js.map +1 -0
- package/dist/src/scripts/prepare-wda-cli.d.ts +14 -0
- package/dist/src/scripts/prepare-wda-cli.d.ts.map +1 -0
- package/dist/src/scripts/prepare-wda-cli.js +71 -0
- package/dist/src/scripts/prepare-wda-cli.js.map +1 -0
- package/dist/src/scripts/prepare-wda.d.ts +22 -0
- package/dist/src/scripts/prepare-wda.d.ts.map +1 -0
- package/dist/src/scripts/prepare-wda.js +539 -0
- package/dist/src/scripts/prepare-wda.js.map +1 -0
- package/dist/src/server.d.ts.map +1 -0
- package/dist/src/server.js +394 -0
- package/dist/src/server.js.map +1 -0
- package/dist/src/services/tracingUtils.d.ts.map +1 -0
- package/dist/src/services/tracingUtils.js +73 -0
- package/dist/src/services/tracingUtils.js.map +1 -0
- package/dist/tsconfig.tsbuildinfo +1 -0
- package/package.json +108 -0
package/package.json
ADDED
|
@@ -0,0 +1,108 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "farm-runner",
|
|
3
|
+
"version": "1.1.0",
|
|
4
|
+
"description": "Node package with Express server",
|
|
5
|
+
"main": "dist/index.js",
|
|
6
|
+
"types": "dist/index.d.ts",
|
|
7
|
+
"bin": {
|
|
8
|
+
"farm-runner": "./dist/src/bundle.js"
|
|
9
|
+
},
|
|
10
|
+
"scripts": {
|
|
11
|
+
"bundle": "rimraf dist && npm run build && webpack",
|
|
12
|
+
"build": "tsc",
|
|
13
|
+
"build:watch": "tsc --watch",
|
|
14
|
+
"clean": "rm -rf dist",
|
|
15
|
+
"start": "ts-node src/server.ts",
|
|
16
|
+
"start:dev": "ts-node --watch src/server.ts",
|
|
17
|
+
"start:prod": "node dist/server.js",
|
|
18
|
+
"prepare-wda": "ts-node -r dotenv/config src/scripts/prepare-wda-cli.ts",
|
|
19
|
+
"appium:standalone": "ts-node examples/standalone-appium-server.ts",
|
|
20
|
+
"appium:config": "ts-node examples/appium-with-config.ts",
|
|
21
|
+
"appium:log-monitoring": "ts-node examples/appium-log-monitoring.ts",
|
|
22
|
+
"test": "mocha -r ts-node/register --project tsconfig.json 'test/**/*.{test,spec}.ts' --exit || echo 'No test files found'",
|
|
23
|
+
"test:watch": "mocha -r ts-node/register --project tsconfig.json 'test/**/*.{test,spec}.ts' --watch",
|
|
24
|
+
"test:unit": "mocha -r ts-node/register --project tsconfig.json 'test/unit/**/*.{test,spec}.ts' --ignore 'test/integration/**' --exit",
|
|
25
|
+
"test:integration": "mocha -r ts-node/register --project tsconfig.json 'test/integration/**/*.{test,spec}.ts'",
|
|
26
|
+
"lint": "eslint src --ext .ts",
|
|
27
|
+
"lint:fix": "eslint src --ext .ts --fix",
|
|
28
|
+
"typecheck": "tsc --noEmit"
|
|
29
|
+
},
|
|
30
|
+
"publishConfig": {
|
|
31
|
+
"access": "public"
|
|
32
|
+
},
|
|
33
|
+
"keywords": [
|
|
34
|
+
"express",
|
|
35
|
+
"node",
|
|
36
|
+
"server"
|
|
37
|
+
],
|
|
38
|
+
"author": "",
|
|
39
|
+
"license": "MIT",
|
|
40
|
+
"dependencies": {
|
|
41
|
+
"@appium/support": "^3.1.7",
|
|
42
|
+
"@devicefarmer/adbkit": "^3.2.6",
|
|
43
|
+
"@types/fs-extra": "^11.0.4",
|
|
44
|
+
"@types/plist": "^3.0.5",
|
|
45
|
+
"appium": "^3.1.1",
|
|
46
|
+
"appium-adb": "^13.0.11",
|
|
47
|
+
"appium-ios-device": "^3.1.3",
|
|
48
|
+
"async-wait-until": "^2.0.0",
|
|
49
|
+
"asyncbox": "^2.9.0",
|
|
50
|
+
"axios": "^1.13.2",
|
|
51
|
+
"dotenv": "^16.3.1",
|
|
52
|
+
"express": "^4.19.2",
|
|
53
|
+
"form-data": "^4.0.1",
|
|
54
|
+
"fs-extra": "^11.3.2",
|
|
55
|
+
"get-port": "^7.1.0",
|
|
56
|
+
"lodash": "^4.17.21",
|
|
57
|
+
"node-abort-controller": "^3.0.1",
|
|
58
|
+
"node-simctl": "^8.0.6",
|
|
59
|
+
"plist": "^3.1.0",
|
|
60
|
+
"portscanner": "2.2.0",
|
|
61
|
+
"socket.io-client": "^4.8.1",
|
|
62
|
+
"teen_process": "^3.0.3",
|
|
63
|
+
"uuid": "^9.0.1",
|
|
64
|
+
"uuid-by-string": "^4.0.0",
|
|
65
|
+
"yauzl": "^2.10.0",
|
|
66
|
+
"@opentelemetry/api": "^1.9.0",
|
|
67
|
+
"@opentelemetry/api-logs": "^0.208.0",
|
|
68
|
+
"@opentelemetry/auto-instrumentations-node": "^0.67.0",
|
|
69
|
+
"@opentelemetry/exporter-logs-otlp-http": "^0.208.0",
|
|
70
|
+
"@opentelemetry/exporter-trace-otlp-http": "^0.208.0",
|
|
71
|
+
"@opentelemetry/instrumentation": "^0.208.0",
|
|
72
|
+
"@opentelemetry/instrumentation-express": "^0.57.0",
|
|
73
|
+
"@opentelemetry/instrumentation-http": "^0.208.0",
|
|
74
|
+
"@opentelemetry/instrumentation-socket.io": "^0.55.0",
|
|
75
|
+
"@opentelemetry/resources": "^2.2.0",
|
|
76
|
+
"@opentelemetry/sdk-logs": "^0.208.0",
|
|
77
|
+
"@opentelemetry/sdk-node": "^0.208.0",
|
|
78
|
+
"@opentelemetry/semantic-conventions": "^1.38.0"
|
|
79
|
+
},
|
|
80
|
+
"devDependencies": {
|
|
81
|
+
"@types/chai": "^4.3.11",
|
|
82
|
+
"@types/express": "^4.17.21",
|
|
83
|
+
"@types/lodash": "^4.14.202",
|
|
84
|
+
"@types/mocha": "^10.0.6",
|
|
85
|
+
"@types/node": "^20.10.0",
|
|
86
|
+
"@types/sinon": "^17.0.2",
|
|
87
|
+
"@types/sinon-chai": "^4.0.0",
|
|
88
|
+
"@types/socket.io": "^3.0.1",
|
|
89
|
+
"@types/supertest": "^6.0.2",
|
|
90
|
+
"@types/triple-beam": "^1.3.5",
|
|
91
|
+
"@types/uuid": "^9.0.7",
|
|
92
|
+
"@types/yauzl": "^2.10.3",
|
|
93
|
+
"chai": "^4.3.10",
|
|
94
|
+
"mocha": "^10.2.0",
|
|
95
|
+
"remove-files-webpack-plugin": "^1.5.0",
|
|
96
|
+
"sinon": "^17.0.1",
|
|
97
|
+
"sinon-chai": "^3.7.0",
|
|
98
|
+
"socket.io": "^4.8.1",
|
|
99
|
+
"supertest": "^6.3.3",
|
|
100
|
+
"ts-node": "^10.9.2",
|
|
101
|
+
"webpack-node-externals": "^3.0.0",
|
|
102
|
+
"webpack-obfuscator": "^3.6.0",
|
|
103
|
+
"webpack-shebang-plugin": "^1.1.8"
|
|
104
|
+
},
|
|
105
|
+
"files": [
|
|
106
|
+
"dist"
|
|
107
|
+
]
|
|
108
|
+
}
|