-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
77 lines (77 loc) · 1.73 KB
/
package.json
File metadata and controls
77 lines (77 loc) · 1.73 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
{
"name": "random_picker",
"version": "1.0.7",
"description": "随机抽选",
"main": "main.js",
"scripts": {
"start": "electron .",
"app:dir": "electron-builder --dir",
"app:dist": "electron-builder -wl",
"app:frontend": "node build.js"
},
"dependencies": {
"electron-store": "^8.2.0",
"electron-updater": "^6.6.2"
},
"author": {
"name": "Steve3184",
"email": "me@s3.fan"
},
"build": {
"appId": "top.steve3184.randompicker",
"productName": "随机抽选",
"copyright": "Copyright © 2025 Steve3184",
"directories": {
"output": "dist"
},
"files": [
"**/*",
"!{release,dist,build}/*",
"!build.js",
"!README.md"
],
"publish": [
{
"provider": "generic",
"url": "https://data.s3.fan/updater/top.steve3184.randompicker/"
}
],
"asar": true,
"win": {
"target": [
{
"target": "nsis",
"arch": [
"ia32",
"x64"
]
}
],
"icon": "icon.png",
"artifactName": "RandomPicker_${version}_setup_${arch}.exe"
},
"nsis": {
"oneClick": false,
"perMachine": true,
"allowToChangeInstallationDirectory": true,
"createDesktopShortcut": true,
"deleteAppDataOnUninstall": true,
"shortcutName": "随机抽选"
},
"linux": {
"target": "AppImage",
"icon": "icon.png",
"category": "Utility",
"artifactName": "RandomPicker_${version}.${ext}"
}
},
"devDependencies": {
"archiver": "^7.0.1",
"clean-css": "^5.3.3",
"electron": "^38.1.2",
"electron-builder": "^26.0.12",
"fs-extra": "^11.3.2",
"html-minifier": "^4.0.0",
"terser": "^5.44.0"
}
}