This repository has been archived by the owner on Feb 2, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpackage.json
97 lines (97 loc) · 1.96 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
{
"name": "electron-webpack-template",
"author": "Innei",
"version": "1.0.0",
"main": "index.js",
"license": "MIT",
"scripts": {
"prebuild": "rm -rf dist",
"build": "cross-env NODE_ENV=production electron-webpack",
"start": "electron-webpack dev",
"package": "yarn build && electron-builder build --publish never"
},
"dependencies": {
"source-map-support": "0.5.19"
},
"devDependencies": {
"@types/node": "14.0.23",
"cross-env": "7.0.2",
"electron": "9.1.0",
"electron-builder": "22.7.0",
"electron-webpack": "2.8.2",
"electron-webpack-ts": "4.0.1",
"typescript": "3.9.6",
"webpack": "4.43.0"
},
"build": {
"appId": "com.innei.electron-template",
"productName": "template",
"extraMetadata": {
"main": "main.js"
},
"copyright": "Copyright © 2019-2020 ${author}",
"mac": {
"category": "public.app-category.utilities"
},
"files": [
"package.json",
"resources/**/*",
"static",
{
"from": "dist/main"
},
{
"from": "dist/renderer"
}
],
"extends": null,
"dmg": {
"contents": [
{
"x": 130,
"y": 220
},
{
"x": 410,
"y": 220,
"type": "link",
"path": "/Applications"
}
]
},
"win": {
"icon": "resources/icon.ico",
"target": [
"nsis",
"msi"
]
},
"nsis": {
"oneClick": false,
"allowToChangeInstallationDirectory": true,
"installerIcon": "resources/icon.ico"
},
"linux": {
"target": [
"deb",
"rpm",
"AppImage"
],
"category": "Development"
},
"directories": {
"buildResources": "resources",
"output": "release"
},
"extraResources": [
{
"from": "resources/",
"to": "resources/"
},
{
"from": "static",
"to": "static"
}
]
}
}