-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
94 lines (94 loc) · 2.38 KB
/
package.json
File metadata and controls
94 lines (94 loc) · 2.38 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
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
{
"name": "poly-hub",
"version": "4.1.3",
"description": "P2P file sharing between trusted users over Tailscale",
"main": "src/main/main.js",
"scripts": {
"dev": "concurrently \"npm run dev:renderer\" \"wait-on http://localhost:5173 && npm run dev:main\"",
"dev:restart": "pwsh -File scripts/dev-restart.ps1",
"dev:main": "electron .",
"dev:renderer": "vite",
"build": "vite build && electron-builder",
"preview": "vite preview"
},
"author": "",
"license": "MIT",
"devDependencies": {
"@vitejs/plugin-react": "^4.2.1",
"concurrently": "^8.2.2",
"electron": "^28.1.0",
"electron-builder": "^24.9.1",
"electron-icon-builder": "^2.0.1",
"png-to-ico": "^3.0.1",
"to-ico": "^1.1.5",
"vite": "^5.0.10",
"wait-on": "^7.2.0"
},
"dependencies": {
"electron-log": "^5.4.3",
"electron-store": "^8.1.0",
"electron-updater": "^6.7.3",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"react-router-dom": "^6.21.1",
"sharp": "^0.34.5"
},
"build": {
"appId": "com.polyhub.app",
"productName": "Poly-Hub",
"directories": {
"output": "dist-electron"
},
"files": [
"src/**/*",
"dist/**/*",
"assets/**/*",
"package.json",
"version.json"
],
"publish": {
"provider": "github",
"owner": "Starbug10",
"repo": "Poly-Hub"
},
"win": {
"target": [
{
"target": "nsis",
"arch": [
"x64"
]
},
{
"target": "portable",
"arch": [
"x64"
]
}
],
"icon": "assets/icon.ico",
"publisherName": "Poly-Hub",
"verifyUpdateCodeSignature": false
},
"nsis": {
"oneClick": false,
"allowToChangeInstallationDirectory": true,
"allowElevation": true,
"createDesktopShortcut": true,
"createStartMenuShortcut": true,
"shortcutName": "Poly-Hub",
"deleteAppDataOnUninstall": false,
"installerIcon": "assets/icon.ico",
"uninstallerIcon": "assets/icon.ico",
"installerHeaderIcon": "assets/icon.ico",
"perMachine": false,
"runAfterFinish": true,
"artifactName": "Poly-Hub-Setup-${version}.${ext}",
"include": "build/installer.nsh",
"differentialPackage": true
},
"portable": {
"artifactName": "Poly-Hub-Portable-${version}.${ext}"
}
}
}