generated from sindresorhus/electron-boilerplate
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
75 lines (75 loc) · 1.38 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
{
"name": "app-name",
"productName": "App Name",
"version": "0.0.0",
"description": "The best app ever",
"license": "MIT",
"repository": "sindresorhus/electron-boilerplate",
"author": {
"name": "Your Name",
"email": "user@gmail.com",
"url": "https://sindresorhus.com"
},
"scripts": {
"postinstall": "electron-builder install-app-deps",
"lint": "xo",
"test": "npm run lint",
"start": "electron .",
"pack": "electron-builder --dir",
"dist": "electron-builder --macos --linux --windows",
"release": "np"
},
"dependencies": {
"electron-context-menu": "^3.0.0",
"electron-debug": "^3.2.0",
"electron-store": "^8.0.0",
"electron-unhandled": "^3.0.2",
"electron-updater": "^4.3.8",
"electron-util": "^0.15.1"
},
"devDependencies": {
"electron": "^12.0.6",
"electron-builder": "^22.10.5",
"np": "^7.5.0",
"xo": "^0.39.1"
},
"xo": {
"envs": [
"node",
"browser"
]
},
"np": {
"publish": false,
"releaseDraft": false
},
"build": {
"appId": "com.company.AppName",
"mac": {
"category": "public.app-category.social-networking",
"darkModeSupport": true
},
"dmg": {
"iconSize": 160,
"contents": [
{
"x": 180,
"y": 170
},
{
"x": 480,
"y": 170,
"type": "link",
"path": "/Applications"
}
]
},
"linux": {
"target": [
"AppImage",
"deb"
],
"category": "Network;Chat"
}
}
}