generated from AppiumTestDistribution/appium-plugin-template
-
Notifications
You must be signed in to change notification settings - Fork 12
/
Copy pathpackage.json
126 lines (126 loc) · 3.84 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
{
"name": "appium-interceptor",
"version": "1.0.0",
"description": "Appium 2.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": "[email protected]"
},
{
"name": "Srinivasan Sekar",
"email": "[email protected]"
},
{
"name": "Sudharsan Selvaraj",
"email": "[email protected]"
}
],
"bugs": {
"url": "https://github.com/AppiumTestDistribution/appium-interceptor-plugin/issues"
},
"homepage": "https://github.com/AppiumTestDistribution/appium-interceptor-plugin#readme",
"license": "ISC",
"peerDependencies": {
"appium": "^2.4.1"
},
"devDependencies": {
"@babel/core": "^7.3.4",
"@babel/plugin-proposal-class-properties": "^7.13.0",
"@types/chai": "^4.2.16",
"@types/fs-extra": "^11.0.4",
"@types/ip": "^1.1.3",
"@types/jsonpath": "^0.2.4",
"@types/lodash": "^4.14.170",
"@types/mocha": "^8.2.2",
"@types/node": "^15.6.1",
"@types/yargs": "^17.0.32",
"android-apidemos": "^4.1.1",
"appium-espresso-driver": "^2.25.3",
"appium-uiautomator2-driver": "^2.29.5",
"babel-eslint": "^10.0.1",
"chai": "^4.1.0",
"eslint": "^7.23.0",
"eslint-config-prettier": "^8.1.0",
"eslint-plugin-import": "^2.8.0",
"eslint-plugin-prettier": "^3.0.1",
"husky": "^6.0.0",
"lint-staged": "^11.0.0",
"mocha": "^8.3.2",
"prettier": "^2.0.5",
"sinon": "^11.0.0",
"ts-node": "^10.0.0",
"typescript": "^4.2.3",
"webdriverio": "^8.27.0"
},
"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": {},
"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": "^4.1.11",
"queue-typescript": "^1.0.1",
"ajv": "^6.12.6",
"appium-adb": "^11.0.9",
"axios": "^0.27.0",
"better-ajv-errors": "^1.2.0",
"enquirer": "^2.4.1",
"get-port": "^5.1.1",
"http-mitm-proxy": "^1.1.0",
"ip": "^1.1.8",
"jsonpath": "^1.1.1",
"lodash": "^4.17.21",
"minimatch": "^9.0.3",
"parse-headers": "^2.0.5",
"regex-parser": "^2.3.0",
"uuid": "^9.0.1",
"yargs": "^17.7.2",
"fs-extra": "^11.2.0"
}
}