-
Notifications
You must be signed in to change notification settings - Fork 11
/
package.json
115 lines (115 loc) · 3.47 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
{
"name": "appium-wait-plugin",
"version": "3.0.2",
"description": "An appium 2.0 plugin that waits for element to be found",
"main": "./lib/index.js",
"scripts": {
"test": "npm run reinstall-plugin && mocha --require ts-node/register __tests__/plugin.spec.js --timeout 60000 --exit",
"test-e2e": "mocha --require ts-node/register -p __tests__/e2e/plugin.spec.js --timeout 260000",
"build": "npx tsc",
"prepublish": "npx tsc",
"prettier": "prettier src --write --single-quote",
"clear-cache": "rm -rf $HOME/.cache/appium-wait-plugin",
"install-driver": "export APPIUM_HOME=/tmp/some-temp-dir && appium driver install uiautomator2",
"uninstall": "(appium plugin uninstall element-wait || 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 element-wait || exit 0) && npm run install-plugin",
"run-server": "export APPIUM_HOME=/tmp/some-temp-dir && appium server -ka 800 --use-plugins=element-wait -pa /wd/hub "
},
"repository": {
"type": "git",
"url": "git+https://github.com/saikrishna321/appium-wait-plugin.git"
},
"contributors": [
{
"name": "Saikrishna",
"email": "[email protected]"
},
{
"name": "Srinivasan Sekar",
"email": "[email protected]"
}
],
"license": "ISC",
"bugs": {
"url": "https://github.com/saikrishna321/appium-wait-plugin/issues"
},
"homepage": "https://github.com/saikrishna321/appium-wait-plugin#readme",
"dependencies": {
"async-wait-until": "^2.0.12",
"axios": "0.27.2",
"ora": "5.4.1",
"@appium/base-plugin": "^2.2.26"
},
"devDependencies": {
"@appium/fake-driver": "^4.2.1",
"@appium/plugin-test-support": "^0.2.0",
"@babel/plugin-proposal-class-properties": "^7.13.0",
"@types/chai": "^4.2.16",
"@types/lodash": "^4.14.170",
"@types/mocha": "^10.0.1",
"@types/node": "^18.6.4",
"babel-eslint": "^10.0.1",
"chai": "^4.1.0",
"chai-as-promised": "^7.1.1",
"chai-webdriverio-async": "^2.7.0",
"eslint": "^7.23.0",
"eslint-config-prettier": "^8.1.0",
"eslint-plugin-import": "^2.8.0",
"eslint-plugin-prettier": "^4.2.1",
"fake": "^0.2.2",
"get-port": "6.1.2",
"husky": "^6.0.0",
"lint-staged": "^13.0.3",
"mocha": "^10.2.0",
"prettier": "^2.0.5",
"sinon": "^11.0.0",
"ts-node": "10.8.1",
"typescript": "^5.1.6",
"wait-on": "6.0.1",
"webdriverio": "8.27.0"
},
"peerDependencies": {
"appium": "^2.4.1"
},
"appium": {
"pluginName": "element-wait",
"mainClass": "WaitCommandPlugin",
"schema": {
"$schema": "http://json-schema.org/draft-07/schema",
"additionalProperties": false,
"description": "Appium configuration schema for the wait plugin.",
"properties": {
"timeout": {
"type": "number"
},
"intervalBetweenAttempts": {
"type": "number"
},
"excludeEnabledCheck": {
"type": "array"
}
},
"title": "Appium waitplugin",
"type": "object"
}
},
"engines": {
"node": "^14.17.0 || ^16.13.0 || >=18.0.0",
"npm": ">=8"
},
"lint-staged": {
"src/*.{js,jsx,ts,tsx,json,css,scss,md}": [
"npm run prettier",
"git add"
]
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"files": [
"lib"
]
}