-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
73 lines (73 loc) · 1.65 KB
/
Copy pathpackage.json
File metadata and controls
73 lines (73 loc) · 1.65 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
{
"name": "vc-ocr",
"version": "1.0.0",
"description": "好用的跨平台 OCR 工具,接入大模型,支持划词翻译",
"main": "src/main/main.js",
"scripts": {
"start": "electron .",
"dev": "electron . --dev",
"postinstall": "electron-builder install-app-deps",
"build": "electron-builder",
"build:mac": "electron-builder --mac",
"build:win": "electron-builder --win",
"build:linux": "electron-builder --linux"
},
"build": {
"appId": "com.vc.ocr",
"productName": "VC OCR",
"directories": {
"output": "dist"
},
"asarUnpack": [
"node_modules/sharp/**/*",
"node_modules/@img/**/*"
],
"mac": {
"category": "public.app-category.productivity",
"icon": "assets/icon.icns",
"entitlements": "build/entitlements.mac.plist",
"entitlementsInherit": "build/entitlements.mac.plist",
"hardenedRuntime": true,
"gatekeeperAssess": false,
"target": [
"dmg",
"zip"
]
},
"win": {
"icon": "assets/icon.ico",
"target": [
"nsis",
"portable"
]
},
"linux": {
"icon": "assets/icon.png",
"target": [
"AppImage",
"deb"
],
"category": "Utility"
}
},
"keywords": [
"ocr",
"electron",
"translation",
"screenshot"
],
"author": {
"name": "Veritas-Calculus",
"email": "veritas-calculus@users.noreply.github.com"
},
"license": "MIT",
"devDependencies": {
"electron": "^39.2.7",
"electron-builder": "^26.0.12"
},
"dependencies": {
"electron-store": "^11.0.2",
"openai": "^6.15.0",
"sharp": "^0.34.5"
}
}