-
Notifications
You must be signed in to change notification settings - Fork 3
/
package.json
112 lines (112 loc) · 2.75 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
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
{
"name": "electron-sample-app",
"version": "2.0.8",
"description": "A minimal Electron application",
"main": "src/main.js",
"scripts": {
"start": "electron .",
"pack": "electron-builder --dir",
"dist:mac": "electron-builder --mac",
"dist:win": "electron-builder --win",
"dist": "electron-builder --win --mac --x64",
"release": "electron-builder --win --mac --x64 --publish=always",
"release:win": "electron-builder --win --x64 --publish=always",
"release:mac": "electron-builder --mac --x64 --publish=always"
},
"repository": "https://github.com/electron-delta/electron-sample-app",
"keywords": [
"Electron",
"quick",
"start",
"tutorial",
"demo"
],
"author": "GitHub",
"license": "CC0-1.0",
"devDependencies": {
"@electron-delta/builder": "0.1.17",
"electron": "^21.1.1",
"electron-builder": "^23.6.0"
},
"build": {
"appId": "com.electron.sample-app",
"compression": "maximum",
"mac": {
"gatekeeperAssess": true,
"category": "public.app-category.developer-tools",
"target": [
{
"target": "zip",
"arch": [
"x64"
]
},
{
"target": "dmg",
"arch": [
"x64"
]
}
],
"publish": [
{
"provider": "github"
}
]
},
"dmg": {
"writeUpdateInfo": false
},
"nsis": {
"oneClick": true,
"perMachine": false,
"allowElevation": true,
"runAfterFinish": true,
"differentialPackage": true,
"createDesktopShortcut": "always",
"deleteAppDataOnUninstall": true,
"artifactName": "${productName}-${version}.${ext}",
"uninstallDisplayName": "${productName}",
"installerIcon": "icon.ico",
"installerHeaderIcon": "icon.ico",
"uninstallerIcon": "icon.ico"
},
"nsisWeb": {
"oneClick": true,
"perMachine": false,
"allowElevation": true,
"runAfterFinish": true,
"differentialPackage": true,
"createDesktopShortcut": "always",
"deleteAppDataOnUninstall": true,
"artifactName": "${productName}-Setup-${version}.${ext}",
"uninstallDisplayName": "${productName}",
"installerIcon": "icon.ico",
"installerHeaderIcon": "icon.ico",
"uninstallerIcon": "icon.ico"
},
"win": {
"target": [
"nsis-web"
],
"publish": [
{
"provider": "github"
}
]
},
"files": [
"src/**/*",
"package.json",
"icon.ico",
"tray.png",
"blog.png"
],
"afterAllArtifactBuild": ".electron-delta.js"
},
"dependencies": {
"@electron-delta/updater": "0.1.17",
"axios": "^0.27.2",
"electron-log": "^4.4.7"
}
}