-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
98 lines (98 loc) · 2.57 KB
/
package.json
File metadata and controls
98 lines (98 loc) · 2.57 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
95
96
97
98
{
"name": "command-hub",
"version": "0.5.0",
"private": true,
"description": "Cross-platform desktop manager for background CLI services.",
"repository": {
"type": "git",
"url": "git+https://github.com/Alleyf/CommandHub.git"
},
"main": "electron/main.js",
"scripts": {
"brand:generate": "node scripts/generate-brand-assets.mjs",
"dev": "vite --host 127.0.0.1",
"electron": "electron .",
"start": "concurrently -k \"npm:dev\" \"npm:electron:dev\"",
"electron:dev": "wait-on http://127.0.0.1:5173 && electron .",
"build:web": "vite build",
"build": "npm run brand:generate && npm run build:web",
"dist": "npm run build && electron-builder",
"release": "npm run build && electron-builder --publish always"
},
"build": {
"appId": "com.commandhub.app",
"productName": "CommandHub",
"publish": {
"provider": "github",
"owner": "Alleyf",
"repo": "CommandHub"
},
"compression": "maximum",
"afterPack": "scripts/after-pack.shim.js",
"files": [
"dist/**/*",
"electron/**/*",
"package.json",
"!**/*.{ts,tsx,map,md}",
"!scripts/**/*",
"!vite.config.js"
],
"directories": {
"output": "release",
"buildResources": "electron/assets"
},
"icon": "electron/assets/icon.ico",
"win": {
"target": [
{
"target": "nsis",
"arch": [
"x64"
]
}
],
"icon": "electron/assets/icon.ico",
"signAndEditExecutable": false
},
"nsis": {
"oneClick": false,
"allowToChangeInstallationDirectory": true,
"shortcutName": "CommandHub",
"deleteAppDataOnUninstall": true,
"include": "scripts/installer.nsh",
"createDesktopShortcut": true,
"createStartMenuShortcut": true,
"installerIcon": "electron/assets/icon.ico",
"uninstallerIcon": "electron/assets/icon.ico",
"installerHeaderIcon": "electron/assets/icon.ico"
},
"linux": {
"icon": "electron/assets/icon-256.png",
"target": [
"AppImage"
]
},
"mac": {
"icon": "electron/assets/icon-256.png",
"target": [
"dmg"
]
}
},
"dependencies": {
"electron-updater": "^6.3.0",
"fluent-ffmpeg": "^2.1.3",
"lucide-react": "^0.577.0"
},
"devDependencies": {
"@vitejs/plugin-react": "^5.0.0",
"concurrently": "^9.2.0",
"electron": "^36.0.0",
"electron-builder": "^26.8.1",
"rcedit": "^5.0.2",
"react": "^19.1.0",
"react-dom": "^19.1.0",
"vite": "^7.0.0",
"wait-on": "^8.0.3"
}
}