-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
74 lines (74 loc) · 1.67 KB
/
package.json
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
{
"name": "compression-app",
"version": "1.0.0",
"description": "A minimal compression application for cross-platform",
"main": "main.js",
"scripts": {
"start": "electron .",
"pack": "electron-builder --dir",
"dist": "electron-builder",
"dist-all": "electron-builder -mw"
},
"keywords": [
"compression",
"cross-platform"
],
"author": "Ian",
"license": "Apache-2.0",
"devDependencies": {
"electron": "^19.0.4",
"electron-builder": "^23.0.3"
},
"build": {
"appId": "com.ian.app",
"productName":"壓縮雞",
"win": {
"target": [
"nsis"
],
"icon": "build/icons/icon.ico",
"artifactName": "${productName}-${version}.${ext}"
},
"mac": {
"target": [
"dmg"
],
"icon": "build/icons/icon.ico",
"artifactName": "${productName}-${version}.${ext}"
},
"nsis": {
"oneClick": false,
"allowToChangeInstallationDirectory": true,
"createDesktopShortcut": true,
"createStartMenuShortcut": true,
"installerIcon": "build/installerIcon.ico",
"uninstallerIcon": "build/uninstallerIcon.ico",
"installerHeaderIcon": "build/installerHeaderIcon.ico"
},
"dmg": {
"background": "build/appdmg.png",
"icon": "build/icon.icns",
"iconSize": 100,
"contents": [
{
"x": 260,
"y": 210,
"type": "link",
"path": "/Applications"
},
{
"x": 60,
"y": 210,
"type": "file"
}
],
"window": {
"width": 400,
"height": 400
}
}
},
"dependencies": {
"archiver-zip-encrypted": "^1.0.11"
}
}