Repository navigation
Expand file tree
/
Copy pathpackage.json
More file actions
121 lines (121 loc) · 3.83 KB
/
Copy pathpackage.json
File metadata and controls
121 lines (121 loc) · 3.83 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
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
{
"name": "server-console",
"private": true,
"version": "0.13.2",
"description": "Local-first desktop console for GPU servers: SSH monitoring, dual-pane SFTP file manager and high-speed server-to-server transfers",
"type": "module",
"main": "electron/main.cjs",
"scripts": {
"dev": "vite",
"electron:dev": "concurrently -k \"vite\" \"wait-on http://localhost:5173 && electron .\"",
"build": "tsc -b && vite build",
"preview": "vite preview",
"test": "vitest run",
"test:watch": "vitest",
"smoke": "node scripts/smoke.cjs",
"typecheck": "tsc -b && tsc -p tsconfig.electron.json",
"dist:linux": "npm run build && electron-builder --linux AppImage --publish never",
"dist:win": "npm run build && electron-builder --win --x64 --publish never",
"dist:win:lite": "npm run build && electron-builder --win --x64 -c.win.target=portable -c.win.signAndEditExecutable=false --publish never",
"dist:win:nsis": "npm run build && electron-builder --win --x64 -c.win.target=nsis -c.win.signAndEditExecutable=false --publish never",
"icon": "node scripts/make-icon.mjs",
"mock:ssh": "node scripts/fake-sshd.cjs",
"dist:mac": "npm run build && electron-builder --mac --universal --publish never",
"e2e:terminal": "node scripts/terminal-e2e.cjs",
"test:ui": "node scripts/ui-smoke.cjs",
"benchmark": "node scripts/benchmark.cjs",
"lint": "eslint src electron scripts tests eslint.config.mjs",
"test:workflow": "node scripts/workflow-ui.cjs",
"test:remote": "node scripts/remote-acceptance.cjs",
"test:layout": "node scripts/window-layout-check.cjs",
"test:language-ui": "node scripts/language-ui-check.cjs",
"test:navigation": "node scripts/navigation-ui.cjs",
"test:monitor": "node scripts/monitor-ui.cjs",
"test:remote-desktop": "node scripts/remote-desktop-acceptance.cjs"
},
"dependencies": {
"@xterm/addon-fit": "^0.11.0",
"@xterm/xterm": "^6.0.0",
"i18next": "^26.4.2",
"lucide-react": "^1.49.0",
"react": "^18.3.1",
"react-dom": "^18.3.1",
"react-i18next": "^17.0.15",
"ssh2": "^1.17.0"
},
"devDependencies": {
"@eslint/js": "^9.39.1",
"@types/node": "^26.6.3",
"@types/react": "^18.3.12",
"@types/react-dom": "^18.3.1",
"@vitejs/plugin-react": "^6.1.1",
"concurrently": "^9.2.4",
"electron": "^44.5.1",
"electron-builder": "^24.13.3",
"eslint": "^9.39.1",
"eslint-plugin-react-hooks": "^7.0.1",
"globals": "^16.5.0",
"playwright-core": "^1.63.0",
"png2icons": "^2.0.1",
"sharp": "^0.35.4",
"typescript": "^5.6.3",
"typescript-eslint": "^8.48.0",
"vite": "^8.3.2",
"vitest": "^5.0.3",
"wait-on": "^8.0.5"
},
"build": {
"appId": "com.lab.serverconsole",
"productName": "ServerConsole",
"files": [
"dist/**",
"electron/**",
"src/i18n/locales/*.json"
],
"asarUnpack": [
"**/node_modules/ssh2/**",
"**/node_modules/cpu-features/**",
"**/*.node"
],
"directories": {
"output": "release"
},
"win": {
"target": [
"portable",
"nsis"
],
"icon": "build/icon.ico"
},
"mac": {
"target": "dmg",
"icon": "build/icon.icns",
"hardenedRuntime": true,
"category": "public.app-category.developer-tools"
},
"linux": {
"target": "AppImage",
"icon": "build/icon_512.png",
"category": "System"
},
"nsis": {
"artifactName": "${productName}-Setup-${version}.${ext}",
"oneClick": false,
"allowToChangeInstallationDirectory": true,
"createDesktopShortcut": true,
"installerLanguages": [
"en_US",
"zh_CN",
"zh_TW",
"ja_JP",
"ko_KR",
"es_ES",
"fr_FR",
"de_DE",
"ru_RU",
"pt_BR"
],
"multiLanguageInstaller": true
}
}
}