Files
ShellBook/apps/web/package.json
T
Florian Schmidt a6429e0527 feat(web): add xterm terminal panel (#5)
Use @xterm/xterm for terminal emulation and its official @xterm/addon-fit for container sizing. Lazy-load both on first open to keep them out of the main bundle. Preserve the mounted terminal on collapse and offer explicit reconnect; provide an echo transport for demos.
2026-11-16 00:21:17 +01:00

35 lines
868 B
JSON

{
"name": "@shellbook/web",
"version": "0.0.0",
"private": true,
"type": "module",
"scripts": {
"dev": "vite",
"build": "tsc --noEmit && vite build",
"typecheck": "tsc --noEmit",
"test": "vitest run"
},
"dependencies": {
"@shellbook/core": "workspace:*",
"react": "^18.3.1",
"react-dom": "^18.3.1",
"react-markdown": "^9.0.1",
"@codemirror/lang-markdown": "^6.3.1",
"@codemirror/view": "^6.35.0",
"codemirror": "^6.0.1",
"highlight.js": "^11.10.0",
"@xterm/xterm": "^5.5.0",
"@xterm/addon-fit": "^0.10.0"
},
"devDependencies": {
"@types/react": "^18.3.12",
"@types/react-dom": "^18.3.1",
"@vitejs/plugin-react": "^4.3.4",
"vite": "^5.4.11",
"vitest": "^2.1.5",
"jsdom": "^25.0.1",
"@testing-library/react": "^16.1.0",
"@testing-library/jest-dom": "^6.6.3"
}
}