8463b37e9e
- Fix ITheme property: selection -> selectionBackground (ghostty-web compat) - Add dynamic body background color matching theme - Add THEME_BACKGROUNDS mapping in local_server.py - Add tsconfig.json for TypeScript type checking - Update Makefile to use bun run for all frontend commands - Add typecheck script to package.json (make build now typechecks) - Add detailed console tracing for theme debugging - Store fontFamily/fontSize in WebTerminal class for cell measurement v0.6.5
19 lines
899 B
JSON
19 lines
899 B
JSON
{
|
|
"name": "textual-webterm-frontend",
|
|
"private": true,
|
|
"type": "module",
|
|
"dependencies": {
|
|
"ghostty-web": "^0.1.0"
|
|
},
|
|
"devDependencies": {
|
|
"typescript": "^5.7.0"
|
|
},
|
|
"scripts": {
|
|
"build": "bun run typecheck && bun build src/textual_webterm/static/js/terminal.ts --outfile=src/textual_webterm/static/js/terminal.js --minify --target=browser && cp node_modules/ghostty-web/ghostty-vt.wasm src/textual_webterm/static/js/",
|
|
"build:fast": "bun build src/textual_webterm/static/js/terminal.ts --outfile=src/textual_webterm/static/js/terminal.js --minify --target=browser",
|
|
"watch": "bun build src/textual_webterm/static/js/terminal.ts --outfile=src/textual_webterm/static/js/terminal.js --watch --target=browser",
|
|
"typecheck": "bun x tsc --noEmit -p tsconfig.json",
|
|
"copy-wasm": "cp node_modules/ghostty-web/ghostty-vt.wasm src/textual_webterm/static/js/"
|
|
}
|
|
}
|