Files
hatty/package.json
T
zzzjy 5a032b13ec feat: align tab bar with terminal window under workspace hierarchy & add automated test suite
- Restructure UI layout: tab bar and stage actions are now housed inside .workspace-stage (.workspace-header), aligning 100% with the terminal window (#main-viewport) below it
- Establish clear workspace hierarchy: Global Titlebar -> Left Workspace Sidebar -> Active Workspace Content Stage (Tab Bar + Terminal Viewport)
- Add active workspace indicator badge to titlebar header
- Introduce comprehensive automated test suite (test/test-runner.cjs) covering PTY process lifecycle, workspace hierarchy, stage alignment, tab creation, split panes, shortcuts, and themes
- Add 'npm test' script to package.json
2026-09-24 01:54:02 +08:00

61 lines
1.7 KiB
JSON

{
"name": "hatty",
"version": "1.0.1",
"description": "hatty - 一个超高颜值、极速响应的现代 Linux 终端",
"main": "src/main/index.cjs",
"scripts": {
"start": "electron .",
"test": "electron test/test-runner.cjs",
"rebuild": "electron-rebuild -f -w node-pty",
"package:deb": "electron-builder --linux deb",
"package:all": "electron-builder --linux deb AppImage",
"dist": "electron-builder"
},
"build": {
"appId": "cloud.zzzjy.hatty",
"productName": "hatty",
"directories": {
"output": "dist",
"buildResources": "build"
},
"files": [
"src/**/*",
"node_modules/@xterm/**/*",
"node_modules/node-pty/**/*",
"package.json"
],
"linux": {
"target": [
"deb"
],
"category": "TerminalEmulator",
"maintainer": "zzzjy <zjy@zzzjy.cloud>",
"icon": "build/icons"
},
"deb": {
"packageName": "hatty",
"synopsis": "A modern, high-aesthetic Linux terminal emulator",
"description": "hatty is a fast, beautiful and modern terminal emulator for Linux built with Electron, WebGL and node-pty.",
"category": "Utility",
"priority": "optional"
}
},
"homepage": "https://git.zzzjy.cloud/zzzjy/hatty",
"author": "zzzjy <zjy@zzzjy.cloud>",
"license": "MIT",
"dependencies": {
"@xterm/addon-fit": "^0.11.0",
"@xterm/addon-search": "^0.16.0",
"@xterm/addon-web-links": "^0.12.0",
"@xterm/addon-webgl": "^0.19.0",
"@xterm/xterm": "^6.0.0",
"lucide": "^1.47.0",
"node-pty": "^1.1.0"
},
"devDependencies": {
"@electron/rebuild": "^4.2.0",
"electron": "^44.4.3",
"electron-builder": "^26.15.3"
}
}