-
Notifications
You must be signed in to change notification settings - Fork 17
Expand file tree
/
Copy pathpackage.json
More file actions
142 lines (142 loc) · 4.19 KB
/
package.json
File metadata and controls
142 lines (142 loc) · 4.19 KB
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
{
"name": "appium-interceptor",
"version": "1.0.3",
"description": "Appium 3.0 plugin to mock api calls for android apps",
"main": "./lib/index.js",
"types": "./lib/types/index.d.ts",
"scripts": {
"build": "npx tsc",
"test": "mocha --require ts-node/register -p test/plugin.spec.js --exit --timeout 260000",
"record-replay-test": "mocha --require ts-node/register -p test/record.replay.js --exit",
"prepublish": "npx tsc",
"lint": "eslint '**/*.js' --fix",
"prettier": "prettier '**/*.js' --write --single-quote",
"clear-cache": "rm -rf $HOME/.cache/appium-interceptor-plugin",
"uninstall": "export APPIUM_HOME=/tmp/some-temp-dir && (appium plugin uninstall appium-interceptor || exit 0)",
"install-plugin": "export APPIUM_HOME=/tmp/some-temp-dir && npm run build && appium plugin install --source=local $(pwd)",
"reinstall-plugin": "export APPIUM_HOME=/tmp/some-temp-dir && (appium plugin uninstall appium-interceptor || exit 0) && npm run install-plugin",
"run-server": "export APPIUM_HOME=/tmp/some-temp-dir && appium server -ka 800 --use-plugins=appium-interceptor -pa /wd/hub"
},
"contributors": [
{
"name": "Saikrishna",
"email": "saikrishna321@yahoo.com"
},
{
"name": "Srinivasan Sekar",
"email": "srinivasan.sekar1990@gmail.com"
},
{
"name": "Sudharsan Selvaraj",
"email": "sudharsanselvaraj.c0@gmail.com"
}
],
"bugs": {
"url": "https://github.com/AppiumTestDistribution/appium-interceptor-plugin/issues"
},
"homepage": "https://github.com/AppiumTestDistribution/appium-interceptor-plugin#readme",
"license": "ISC",
"peerDependencies": {
"appium": "^3.0.1"
},
"devDependencies": {
"@babel/core": "^7.28.3",
"@babel/plugin-proposal-class-properties": "^7.18.6",
"@types/chai": "^5.2.2",
"@types/fs-extra": "^11.0.4",
"@types/ip": "^1.1.3",
"@types/jsonpath": "^0.2.4",
"@types/lodash": "^4.17.20",
"@types/mocha": "^10.0.10",
"@types/node": "^24.3.0",
"@types/yargs": "^17.0.33",
"android-apidemos": "^5.0.0",
"appium-espresso-driver": "^5.0.1",
"appium-uiautomator2-driver": "^5.0.0",
"babel-eslint": "^10.1.0",
"chai": "^6.0.1",
"eslint": "^9.34.0",
"eslint-config-prettier": "^10.1.8",
"eslint-plugin-import": "^2.32.0",
"eslint-plugin-prettier": "^5.5.4",
"husky": "^9.1.7",
"lint-staged": "^16.1.5",
"mocha": "^11.7.1",
"prettier": "^3.6.2",
"sinon": "^21.0.0",
"ts-node": "^10.9.2",
"typescript": "^5.9.2",
"webdriverio": "^9.19.2"
},
"appium": {
"pluginName": "appium-interceptor",
"mainClass": "AppiumInterceptorPlugin",
"schema": {
"$schema": "http://json-schema.org/draft-07/schema",
"additionalProperties": false,
"description": "Appium configuration schema for the interceptor plugin.",
"properties": {
"certdirectory": {
"type": "string"
},
"whitelisteddomains": {
"type": "string"
},
"blacklisteddomains": {
"type": "string"
},
"upstreamproxy": {
"type": "string"
}
},
"title": "Appium interceptor plugin",
"type": "object"
},
"scripts": {
"test-connection": "./lib/scripts/test-connection.js"
}
},
"engines": {
"node": ">=16",
"npm": ">=8"
},
"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",
"certificate"
],
"dependencies": {
"@appium/support": "^7.0.0",
"@types/express": "^5.0.3",
"ajv": "^8.17.1",
"appium-adb": "^13.0.3",
"axios": "^1.11.0",
"better-ajv-errors": "^2.0.2",
"enquirer": "^2.4.1",
"fs-extra": "^11.3.1",
"get-port": "^7.1.0",
"http-mitm-proxy": "^1.1.0",
"ip": "^2.0.1",
"jsonpath": "^1.1.1",
"lodash": "^4.17.21",
"minimatch": "^10.0.3",
"parse-headers": "^2.0.6",
"queue-typescript": "^1.0.1",
"regex-parser": "^2.3.1",
"uuid": "^11.1.0",
"yargs": "^18.0.0",
"proxy-chain": "2.5.9",
"proxy-agent": "6.5.0"
}
}