-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
82 lines (82 loc) · 2.28 KB
/
Copy pathpackage.json
File metadata and controls
82 lines (82 loc) · 2.28 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
{
"name": "innovation-collaboration-platform",
"version": "1.0.2",
"description": "鸿庆书云 - 一个现代化的Vue.js应用",
"author": "Fantasy <fantasy@example.com>",
"private": true,
"type": "module",
"main": "electron/main.cjs",
"scripts": {
"dev": "vite",
"build": "vite build",
"preview": "vite preview",
"electron:start": "wait-on tcp:5173 && cross-env VITE_DEV_SERVER_URL=http://localhost:5173 electron .",
"electron:dev": "concurrently -k \"npm:dev\" \"npm:electron:start\"",
"build:app": "npm run build && electron-builder -w",
"build:app:debug": "npm run build && cross-env DEBUG_MODE=true electron-builder -w",
"build:app:all": "npm run build && electron-builder -mwl",
"build:app:mac": "npm run build && electron-builder -m",
"build:app:linux": "npm run build && electron-builder -l",
"release:patch": "npm version patch && git push && git push --tags",
"release:minor": "npm version minor && git push && git push --tags",
"release:major": "npm version major && git push && git push --tags",
"release:prerelease": "npm version prerelease && git push && git push --tags",
"pre-release": "echo \"请编辑 release-config.json 文件进行发布\""
},
"dependencies": {
"@element-plus/icons-vue": "^2.3.0",
"axios": "^1.11.0",
"element-plus": "^2.4.0",
"dompurify": "^3.1.6",
"pinia": "^2.1.0",
"marked": "^12.0.2",
"vue": "^3.4.0",
"vue-router": "^4.0.0"
},
"devDependencies": {
"@vitejs/plugin-vue": "^5.0.0",
"vite": "^5.0.0",
"concurrently": "^9.0.0",
"cross-env": "^7.0.3",
"electron": "^30.0.0",
"electron-builder": "^24.13.3",
"wait-on": "^8.0.0"
},
"build": {
"appId": "com.fantasy.innovation",
"productName": "鸿庆书云",
"files": [
"dist/**",
"electron/**",
"package.json"
],
"asar": true,
"directories": {
"output": "release"
},
"win": {
"target": [
"nsis",
"portable"
]
},
"mac": {
"target": [
"dmg",
"zip"
]
},
"linux": {
"target": [
"AppImage",
"deb",
"rpm"
]
},
"nsis": {
"oneClick": false,
"perMachine": false,
"allowToChangeInstallationDirectory": true
}
}
}