-
Notifications
You must be signed in to change notification settings - Fork 6
Expand file tree
/
Copy pathpackage.json
More file actions
80 lines (80 loc) · 1.91 KB
/
Copy pathpackage.json
File metadata and controls
80 lines (80 loc) · 1.91 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
{
"name": "cloudfilerelay-desktop",
"version": "1.0.2",
"description": "Desktop client for CloudFileRelay",
"main": "src/main/index.js",
"author": "xuhongming251",
"repository": {
"type": "git",
"url": "git+https://github.com/xuhongming251/CloudFileRelay.git"
},
"scripts": {
"dev": "concurrently \"vite\" \"wait-on http://localhost:5173 && electron .\"",
"build": "vite build && electron-builder",
"build:win": "vite build && electron-builder --win",
"build:mac": "vite build && electron-builder --mac",
"start": "electron ."
},
"dependencies": {
"adm-zip": "^0.5.16",
"axios": "^1.13.5",
"dayjs": "^1.11.19",
"electron-updater": "^6.7.3",
"uuid": "^13.0.0"
},
"devDependencies": {
"concurrently": "^9.2.1",
"electron": "^40.4.1",
"electron-builder": "^26.7.0",
"vite": "^7.3.1",
"wait-on": "^9.0.4"
},
"build": {
"appId": "com.cloudfilerelay.app",
"artifactName": "${productName}-Setup-${version}.${ext}",
"productName": "CloudFileRelay",
"icon": "build/icon.png",
"files": [
"src/main/**/*",
"src/preload/**/*",
"src/renderer/dist/**/*",
"package.json"
],
"directories": {
"output": "release"
},
"publish": [
{
"provider": "github",
"owner": "xuhongming251",
"repo": "CloudFileRelay"
}
],
"win": {
"target": [
{
"target": "nsis",
"arch": [
"x64"
]
}
]
},
"mac": {
"target": [
"dmg",
"zip"
],
"icon": "build/icon.png"
},
"nsis": {
"oneClick": false,
"allowToChangeInstallationDirectory": true,
"installerIcon": "build/icon.ico",
"uninstallerIcon": "build/icon.ico",
"installerHeaderIcon": "build/icon.ico",
"createDesktopShortcut": true,
"shortcutName": "云端转存助手"
}
}
}