-
Notifications
You must be signed in to change notification settings - Fork 4
/
package.json
66 lines (66 loc) · 1.46 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
{
"name": "autoupdatertester-nsis",
"productName": "AutoUpdater-nsis Tester",
"version": "1.0.1",
"description": "Test autoUpdater for App packaged as NSIS installer using electron-builder",
"main": "main.js",
"scripts": {
"clean": "rimraf ./out",
"start": "electron .",
"pack": "electron-builder --dir",
"dist": "npm run clean && electron-builder",
"test": "echo \"Error: no test specified\" && exit 1"
},
"build": {
"appId": "com.app.autoupdatertester-nsis",
"asar": true,
"directories": {
"output": "out"
},
"files": [
"main.js",
"preload.js",
"renderer.js",
"styles.css",
"index.html"
],
"publish": [
{
"provider": "generic",
"url": "http://localhost:9000/test-bucket2"
}
],
"nsis": {
"oneClick": false,
"perMachine": true,
"allowElevation": true,
"allowToChangeInstallationDirectory": true,
"uninstallDisplayName": "${productName}",
"deleteAppDataOnUninstall": true
},
"win": {
"icon": "./app.ico",
"target": [
"nsis"
]
},
"mac": {
"target": [
"dmg",
"zip"
]
}
},
"author": "QM",
"license": "MIT",
"devDependencies": {
"electron": "^17.0.0",
"electron-builder": "^22.14.5",
"rimraf": "^3.0.2"
},
"dependencies": {
"electron-is-dev": "^2.0.0",
"electron-log": "^4.4.5",
"electron-updater": "^4.6.5"
}
}