-
Notifications
You must be signed in to change notification settings - Fork 11
Expand file tree
/
Copy pathpackage.json
More file actions
78 lines (78 loc) · 1.98 KB
/
package.json
File metadata and controls
78 lines (78 loc) · 1.98 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
{
"name": "appium-ocr-plugin",
"description": "An Appium 2.0 plugin that uses Tesseract to find screen regions by visual text",
"tags": [
"appium",
"ocr"
],
"version": "0.3.0",
"author": "Jonathan Lipps <jlipps@gmail.com>",
"license": "Apache-2.0",
"repository": {
"type": "git",
"url": "https://github.com/jlipps/appium-ocr-plugin"
},
"bugs": {
"url": "https://github.com/jlipps/appium-ocr-plugin/issues"
},
"engines": {
"node": "^20.19.0 || ^22.12.0 || >=24.0.0",
"npm": ">=10"
},
"appium": {
"pluginName": "ocr",
"mainClass": "AppiumOcrPlugin"
},
"main": "./build/index.js",
"directories": {
"src": "./src"
},
"files": [
"src",
"build/commands",
"build/test",
"build/index.js",
"build/index.d.ts",
"README",
"LICENSE"
],
"dependencies": {
"lodash": "^4.17.21",
"sharp": "^0.32.2",
"tesseract.js": "^4.1.1",
"xmldom": "^0.6.0",
"xpath": "^0.0.32"
},
"peerDependencies": {
"appium": "^3.0.0"
},
"scripts": {
"clean": "rm -rf package-lock.json && rm -rf node_modules && npm install",
"prepare": "npm run build",
"build": "tsc",
"watch": "tsc --watch",
"test:unit": "mocha ./build/test/unit/*-specs.js",
"test:e2e": "mocha -t 120000 ./build/test/e2e/*-specs.js"
},
"//devDependencies": {
"@types/debug": "necessary because a subdep of wdio uses this package without typedefs so we have to import the typedefs ourself"
},
"devDependencies": {
"@appium/tsconfig": "^1.0.0",
"@types/bluebird": "^3.5.38",
"@types/debug": "^4.1.8",
"@types/express": "^4.17.13",
"@types/lodash": "^4.14.178",
"@types/mocha": "^10.0.1",
"@types/node": "^20.4.2",
"@types/semver": "^7.5.0",
"@types/xmldom": "^0.1.31",
"appium-uiautomator2-driver": "^5.0.0",
"appium-xcuitest-driver": "^10.0.0",
"earl": "^1.1.0",
"mocha": "^10.2.0",
"ts-node": "^10.4.0",
"typescript": "^5.1.6",
"webdriverio": "^8.13.1"
}
}