b6bb994e8e
- Vendor patched version with native theme/palette support at WASM level - Remove color remapping patches (no longer needed) - Pre-load Ghostty WASM before terminal creation - Bundle size reduced from 1.16 MB to 0.67 MB - Includes IME input fixes Bump version to 0.7.0
19 lines
918 B
JSON
19 lines
918 B
JSON
{
|
|
"name": "textual-webterm-frontend",
|
|
"private": true,
|
|
"type": "module",
|
|
"dependencies": {
|
|
"ghostty-web": "github:rcarmo/ghostty-web"
|
|
},
|
|
"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/"
|
|
}
|
|
}
|