-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
53 lines (53 loc) · 1.33 KB
/
package.json
File metadata and controls
53 lines (53 loc) · 1.33 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
{
"name": "github-widget",
"version": "1.0.0",
"description": "A desktop widget displaying GitHub contribution graph",
"author": "Your Name",
"main": "main.js",
"scripts": {
"start": "electron .",
"build": "electron-builder",
"build:win": "electron-builder --win portable",
"package": "electron-packager . \"github-widget\" --platform=win32 --arch=x64 --out=build_output --overwrite --icon=icon.png"
},
"dependencies": {
"auto-launch": "^5.0.6",
"electron-store": "^8.1.0"
},
"devDependencies": {
"7zip-bin": "^5.2.0",
"electron": "^30.0.0",
"electron-builder": "^25.1.8",
"electron-packager": "^17.1.2",
"png-to-ico": "^3.0.1"
},
"build": {
"appId": "com.github.widget",
"productName": "github-widget",
"directories": {
"output": "build_output"
},
"win": {
"target": "nsis",
"icon": "icon.png",
"sign": null
},
"nsis": {
"oneClick": false,
"allowToChangeInstallationDirectory": true,
"createDesktopShortcut": true,
"createStartMenuShortcut": true,
"shortcutName": "GitHub Widget",
"uninstallDisplayName": "GitHub Widget"
},
"files": [
"main.js",
"renderer.js",
"index.html",
"style.css",
"icon.png",
"package.json"
],
"compression": "maximum"
}
}