-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
113 lines (113 loc) · 2.43 KB
/
Copy pathpackage.json
File metadata and controls
113 lines (113 loc) · 2.43 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
{
"name": "local-read",
"version": "1.0.0",
"description": "一个本地电子书阅读器,支持 EPUB、TXT、PDF 格式",
"main": "electron-main.js",
"scripts": {
"test": "vitest run",
"test:watch": "vitest",
"start": "node server.js",
"electron": "node scripts/launch-electron.js",
"electron:dev": "node scripts/launch-electron.js --dev",
"pack": "electron-builder --dir",
"dist": "electron-builder",
"dist:win": "electron-builder --win",
"dist:win:zip": "electron-builder --win zip",
"dist:mac": "electron-builder --mac",
"dist:linux": "electron-builder --linux"
},
"keywords": [
"electron",
"ebook",
"reader",
"epub",
"pdf"
],
"author": "ReasonW6",
"license": "ISC",
"dependencies": {
"adm-zip": "^0.5.12",
"express": "^5.1.0",
"multer": "^2.0.2"
},
"devDependencies": {
"electron": "^33.4.11",
"electron-builder": "^25.1.8",
"jsdom": "^28.0.0",
"supertest": "^7.2.2",
"vitest": "^4.0.18"
},
"build": {
"appId": "com.localread.app",
"productName": "本地阅读器",
"copyright": "Copyright © 2024 ReasonW6",
"asar": true,
"compression": "normal",
"npmRebuild": false,
"directories": {
"output": "dist",
"buildResources": "build"
},
"files": [
"**/*",
"!dist/**",
"!node_modules/.cache/**",
"!.git/**",
"!.gitignore",
"!README.md",
"!更新日志.txt",
"!server.js",
"!start.bat",
"!**/*.map",
"!**/*.md",
"!books/**",
"!user-data/**"
],
"win": {
"target": [
{
"target": "nsis",
"arch": [
"x64"
]
},
{
"target": "portable",
"arch": [
"x64"
]
},
{
"target": "zip",
"arch": [
"x64"
]
}
],
"icon": "build/icon.ico"
},
"nsis": {
"oneClick": false,
"allowToChangeInstallationDirectory": true,
"createDesktopShortcut": true,
"createStartMenuShortcut": true,
"shortcutName": "本地阅读器"
},
"mac": {
"target": [
"dmg",
"zip"
],
"icon": "build/icon.icns",
"category": "public.app-category.books"
},
"linux": {
"target": [
"AppImage",
"deb"
],
"icon": "build/icon.png",
"category": "Office"
}
}
}