Something went wrong. Try again.
Ghostty for the web with xterm.js API compatibility
Something went wrong. Try again.
ghostty-web package.json
2.0 kB · 75 lines
JSON
at renderstate
12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576{ "name": "ghostty-web", "version": "0.3.0", "description": "Web-based terminal emulator using Ghostty's VT100 parser via WebAssembly", "type": "module", "main": "./dist/ghostty-web.umd.cjs", "module": "./dist/ghostty-web.js", "types": "./dist/index.d.ts", "exports": { ".": { "types": "./dist/index.d.ts", "import": "./dist/ghostty-web.js", "require": "./dist/ghostty-web.umd.cjs" }, "./ghostty-vt.wasm": "./ghostty-vt.wasm" }, "files": [ "dist", "ghostty-vt.wasm", "README.md" ], "keywords": [ "terminal", "terminal-emulator", "ghostty", "web", "xterm", "vt100", "wasm", "webassembly", "ansi", "tty" ], "repository": { "type": "git", "url": "https://github.com/coder/ghostty-web.git" }, "bugs": "https://github.com/coder/ghostty-web/issues", "homepage": "https://github.com/coder/ghostty-web#readme", "license": "MIT", "author": "Coder", "publishConfig": { "access": "public" }, "scripts": { "dev": "vite --port 8000", "demo": "node demo/bin/demo.js", "demo:dev": "node demo/bin/demo.js --dev", "build": "bun run clean && bun run build:wasm && bun run build:lib && bun run build:wasm-copy", "build:wasm": "./scripts/build-wasm.sh", "build:lib": "vite build", "build:wasm-copy": "cp ghostty-vt.wasm dist/", "clean": "rm -rf dist", "preview": "vite preview", "test": "bun test", "typecheck": "tsc --noEmit", "fmt": "prettier --check .", "fmt:fix": "prettier --write --cache .", "lint": "biome check .", "lint:fix": "biome check --write .", "prepublishOnly": "bun run build" }, "devDependencies": { "@biomejs/biome": "^1.9.4", "@happy-dom/global-registrator": "^15.11.0", "@types/bun": "^1.3.2", "@xterm/headless": "^5.5.0", "@xterm/xterm": "^5.5.0", "mitata": "^1.0.34", "prettier": "^3.6.2", "typescript": "^5.9.3", "vite": "^4.5.0", "vite-plugin-dts": "^4.5.4" }}