-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
117 lines (117 loc) · 3.15 KB
/
Copy pathpackage.json
File metadata and controls
117 lines (117 loc) · 3.15 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
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
{
"name": "pocketrag",
"version": "0.1.0",
"description": "",
"main": "./electron/main/main.js",
"scripts": {
"gen_version": "node ./scripts/generateVersionFile.js",
"dev:vite": "vite",
"dev": "npm run gen_version && concurrently -k \"npm run dev:vite\" \"electron .\"",
"build:vite": "vite build",
"build:kernel": "node ./scripts/buildKernel.js",
"build": "npm run gen_version && node ./scripts/build.js"
},
"author": "LKLLLLLLLLLL",
"license": "Apache-2.0",
"devDependencies": {
"@vitejs/plugin-react": "^4.4.1",
"adm-zip": "^0.5.16",
"axios": "^1.9.0",
"concurrently": "^9.1.2",
"electron": "^35.1.4",
"electron-builder": "^26.0.12",
"progress": "^2.0.3",
"tar": "^7.4.3",
"vite": "^6.3.5"
},
"dependencies": {
"@ant-design/icons": "^5.6.1",
"@ant-design/v5-patch-for-react-19": "^1.0.3",
"@bytemd/plugin-breaks": "^1.22.0",
"@bytemd/plugin-frontmatter": "^1.22.0",
"@bytemd/plugin-gemoji": "^1.22.0",
"@bytemd/plugin-gfm": "^1.22.0",
"@bytemd/plugin-highlight": "^1.22.0",
"@bytemd/plugin-math": "^1.22.0",
"@bytemd/react": "^1.22.0",
"antd": "^5.25.2",
"juejin-markdown-themes": "^1.34.0",
"react": "^19.1.0",
"react-dom": "^19.1.0",
"react-markdown": "^10.1.0",
"react-resizable-panels": "^3.0.2"
},
"engines": {
"node": ">=18.0.0"
},
"repository": {
"type": "git",
"url": "https://github.com/LKLLLLLLLLLL/PocketRAG.git"
},
"bugs": {
"url": "https://github.com/LKLLLLLLLLLL/PocketRAG/issues"
},
"homepage": "https://github.com/LKLLLLLLLLLL/PocketRAG#readme",
"build": {
"appId": "io.github.LKLLLLLLLLLL.PocketRAG",
"productName": "PocketRAG",
"icon": "electron/public/icon.png",
"files": [
"electron/build/**/*",
"electron/main/**/*"
],
"extraResources": [
{
"from": "kernel/bin",
"to": "bin"
},
{
"from": "electron/public",
"to": "public"
}
],
"directories": {
"buildResources": "electron/resources",
"output": "dist"
},
"extraMetadata": {
"main": "electron/main/main.js"
},
"compression": "normal",
"mac": {
"category": "public.app-category.productivity",
"target": [
"dmg",
"zip"
],
"darkModeSupport": true,
"artifactName": "${productName}-macos-v${version}-${arch}.${ext}"
},
"win": {
"target": [
"nsis",
"msi",
"portable"
]
},
"nsis": {
"oneClick": false,
"allowToChangeInstallationDirectory": true,
"createDesktopShortcut": true,
"createStartMenuShortcut": true,
"deleteAppDataOnUninstall": true,
"include": "electron/public/uninstaller.nsh",
"artifactName": "${productName}-win-${version}-${arch}.${ext}"
},
"msi": {
"upgradeCode": "0583356a-9cdc-40ec-8586-39c26e9e8baf",
"perMachine": true,
"oneClick": false,
"shortcutName": "PocketRAG",
"artifactName": "${productName}-win-${version}-${arch}.${ext}"
},
"portable": {
"artifactName": "${productName}-win-portable-v${version}-${arch}.${ext}"
}
}
}