Use node-pty for native terminal support and chokidar for recursive cross-platform watching with atomic-save normalization. Validate terminal messages, detach clients safely, and expose debounced typed notebook events.
23 lines
515 B
JSON
23 lines
515 B
JSON
{
|
|
"name": "@shellbook/server",
|
|
"version": "0.0.0",
|
|
"private": true,
|
|
"type": "module",
|
|
"scripts": {
|
|
"dev": "tsx watch src/main.ts",
|
|
"build": "tsc -p tsconfig.json --noEmit",
|
|
"typecheck": "tsc -p tsconfig.json --noEmit",
|
|
"test": "vitest run --passWithNoTests"
|
|
},
|
|
"dependencies": {
|
|
"@fastify/websocket": "^11.0.1",
|
|
"@shellbook/core": "workspace:*",
|
|
"fastify": "^5.1.0",
|
|
"node-pty": "^1.1.0",
|
|
"chokidar": "^4.0.3"
|
|
},
|
|
"devDependencies": {
|
|
"tsx": "^4.19.2"
|
|
}
|
|
}
|