Files
ShellBook/apps/web/package.json
T
Florian Schmidt 443bf944b8 feat(web): add shell-first runbook UI and mock demo (#2)
Add notebook parameters, literal highlighted scripts, copy helpers, streamed runs, host-key confirmation, artifacts, conditional notes, login and optimistic Markdown editing. Keep the temporary core renderer isolated to mock mode.

Use React and Vite for the UI, react-markdown for safe Markdown rendering, highlight.js for shell syntax, and CodeMirror 6 for Markdown editing. Add Testing Library, jsdom and Vitest for component and event-state coverage.

Validate pnpm install, root typecheck and test (29 web tests, 1 server test), plus normal and mock web builds. Core contracts remain unchanged; real backend execution awaits the parallel core/server implementations.
2026-11-16 00:08:30 +01:00

33 lines
803 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"
},
"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"
}
}