-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
87 lines (87 loc) · 2.51 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
{
"$schema": "https://www.raycast.com/schemas/extension.json",
"name": "baidu-screenshot-ocr",
"version": "0.0.6",
"description": "Baidu-Screenshot-OCR",
"title": "Baidu-Scrennshot-Ocr",
"icon": "ocr.png",
"type": "module",
"main": "index.js",
"scripts": {
"prepare": "husky",
"build": "ray build -e dist",
"dev": "ray develop",
"prepublishOnly": "echo \"\\n\\nIt seems like you are trying to publish the Raycast extension to npm.\\n\\nIf you did intend to publish it to npm, remove the \\`prepublishOnly\\` script and rerun \\`npm publish\\` again.\\nIf you wanted to publish it to the Raycast Store instead, use \\`npm run publish\\` instead.\\n\\n\" && exit 1",
"publish": "npx @raycast/api@latest publish"
},
"author": "zhsama",
"license": "MIT",
"categories": [
"Applications"
],
"keywords": [
"ocr",
"screenshot",
"baidu"
],
"commands": [
{
"name": "baidu-ocr",
"title": "Baidu-Ocr",
"subtitle": "Baidu Screenshot OCR",
"description": "Use Baidu OCR API to Screenshot OCR.",
"mode": "no-view",
"preferences": [
{
"name": "BaiduOCRAppKey",
"title": "Baidu OCR API Key",
"description": "API Key is used to authenticate with Baidu OCR",
"type": "password",
"required": true
},
{
"name": "BaiduOCRSecretKey",
"title": "Baidu OCR Secret Key",
"description": "API Key is used to authenticate with Baidu OCR",
"type": "password",
"required": true
}
]
}
],
"engines": {
"node": ">=16.20.2",
"pnpm": ">=9"
},
"packageManager": "[email protected]",
"lint-staged": {
"*.{js,jsx,ts,tsx,mjs,cjs}": [
"node --max_old_space_size=8192 ./node_modules/eslint/bin/eslint.js --fix --color --cache --quiet"
]
},
"dependencies": {
"@raycast/api": "^1.77.1",
"@types/pngjs": "^6.0.5",
"axios": "^1.7.2",
"clipboardy": "^4.0.0",
"execa": "^9.3.0",
"install": "^0.13.0",
"jimp": "^0.22.12",
"node-screenshots": "^0.2.0",
"npm": "^10.8.1",
"prettier": "^3.3.2"
},
"devDependencies": {
"@commitlint/cli": "^19.3.0",
"@commitlint/config-conventional": "^19.2.2",
"@types/node": "20.8.10",
"@types/react": "18.3.3",
"@types/screenshot-desktop": "^1.12.3",
"@raycast/eslint-config": "^1.0.8",
"commitlint": "^19.3.0",
"eslint-plugin-markdown": "^5.0.0",
"husky": "^9.0.11",
"lint-staged": "^15.2.7",
"typescript": "^5.4.5"
}
}