-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
91 lines (91 loc) · 2.17 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
{
"name": "electron-test",
"version": "1.0.0",
"description": "",
"main": "app/main/index.js",
"scripts": {
"start": "concurrently \"npm run start:render\" \"wait-on http://localhost:3000 && npm run start:main\"",
"start:main": "electron .",
"start:render": "cd app/renderer/src/main && npm start",
"build": "cd app/renderer/src/main && npm run build",
"pack:mac": "npm run build && electron-builder --mac",
"pack:win": "npm run build && electron-builder --win --ia32"
},
"author": "baomer",
"license": "ISC",
"devDependencies": {
"concurrently": "^5.1.0",
"cross-env": "^7.0.2",
"electron": "^8.1.0",
"electron-builder": "^22.4.1",
"electron-builder-squirrel-windows": "^22.5.1",
"electron-rebuild": "^1.10.1",
"timer.js": "^1.0.4",
"wait-on": "^4.0.1"
},
"dependencies": {
"about-window": "^1.13.2",
"electron-is-dev": "^1.1.0",
"robotjs": "^0.6.0",
"vkey": "^1.0.1",
"ws": "^7.2.3"
},
"build": {
"appId": "com.geektime.mercurius",
"productName": "electron-test",
"files": "app",
"asar": true,
"extraFiles": [
"app/renderer/**/src"
],
"directories": {
"buildResources": "resource",
"output": "release"
},
"copyright": "Copyright (c) 2020 baomer",
"mac": {
"target": [
"dmg",
"zip"
],
"icon": "resources/icon.icns"
},
"dmg": {
"background": "resources/background.png",
"window": {
"width": 540,
"height": 380
},
"contents": [
{
"x": 410,
"y": 180,
"type": "link",
"path": "/Applications"
},
{
"x": 130,
"y": 180,
"type": "file"
}
],
"iconSize": 128
},
"win": {
"icon": "resources/icon.ico",
"target": [
"aquirrel",
"nsis"
]
},
"nsis": {
"oneClick": false,
"language": "2052",
"perMachine": true,
"allowToChangeInstallationDirectory": true
},
"squirrelWindows": {
"iconUrl": "https://raw.githubusercontent.com/dengyaolong/geektime-electron/master/img/icon.ico"
}
}
}