-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
91 lines (91 loc) · 2.6 KB
/
package.json
File metadata and controls
91 lines (91 loc) · 2.6 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
{
"name": "stellarity-admin",
"version": "1.0.0",
"description": "Stellarity - Command Center Admin Panel",
"main": "./out/main/index.js",
"author": "Stellarity",
"scripts": {
"dev": "electron-vite dev",
"build": "electron-vite build",
"start": "electron-vite preview",
"postinstall": "electron-builder install-app-deps",
"package": "bun run ../../scripts/package-desktop.ts admin",
"package:win": "bun run ../../scripts/package-desktop.ts admin --win",
"package:mac": "bun run ../../scripts/package-desktop.ts admin --mac",
"package:linux": "bun run ../../scripts/package-desktop.ts admin --linux",
"typecheck": "tsc --noEmit"
},
"dependencies": {
"@electron-toolkit/preload": "^3.0.0",
"@electron-toolkit/utils": "^3.0.0",
"zustand": "^4.4.7"
},
"devDependencies": {
"@electron-toolkit/tsconfig": "^1.0.1",
"@types/node": "^20.10.4",
"@types/react": "^18.2.43",
"@types/react-dom": "^18.2.17",
"@vitejs/plugin-react": "^4.2.1",
"electron": "35.7.5",
"electron-builder": "^24.9.1",
"electron-vite": "^2.0.0",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"typescript": "^5.3.3",
"vite": "^5.0.7"
},
"build": {
"appId": "com.stellarity.admin",
"productName": "Stellarity Command Center",
"copyright": "Copyright © 2026 Stellarity",
"directories": {
"output": "release",
"buildResources": "resources"
},
"files": [
"out/**/*",
"!node_modules/**/*"
],
"extraMetadata": {
"main": "./out/main/index.js"
},
"win": {
"target": [
{
"target": "nsis",
"arch": ["x64"]
},
{
"target": "portable",
"arch": ["x64"]
}
],
"artifactName": "${productName}-${version}-Setup.${ext}"
},
"mac": {
"target": ["dmg"],
"artifactName": "${productName}-${version}-macOS.${ext}"
},
"linux": {
"target": ["AppImage", "deb"],
"artifactName": "${productName}-${version}-linux.${ext}",
"category": "Network"
},
"nsis": {
"oneClick": false,
"perMachine": false,
"allowToChangeInstallationDirectory": true,
"allowElevation": true,
"createDesktopShortcut": true,
"createStartMenuShortcut": true,
"shortcutName": "Stellarity Command Center",
"uninstallDisplayName": "Stellarity Command Center",
"deleteAppDataOnUninstall": false,
"license": "../../LICENSE",
"include": "resources/nsis/installer.nsh"
},
"portable": {
"artifactName": "${productName}-${version}-Portable.${ext}"
}
}
}