@seflless/ghosttown 1.0.1 → 1.0.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Binary file
package/package.json CHANGED
@@ -1,13 +1,85 @@
1
1
  {
2
2
  "name": "@seflless/ghosttown",
3
- "version": "1.0.1",
4
- "private": false,
5
- "main": "index.js",
6
- "scripts": {
7
- "test": "echo \"Error: no test specified\" && exit 1"
3
+ "version": "1.0.3",
4
+ "description": "Web-based terminal emulator using Ghostty's VT100 parser via WebAssembly",
5
+ "type": "module",
6
+ "main": "./dist/ghostty-web.umd.cjs",
7
+ "module": "./dist/ghostty-web.js",
8
+ "types": "./dist/index.d.ts",
9
+ "bin": {
10
+ "ghosttown": "./bin/ghosttown.js"
11
+ },
12
+ "exports": {
13
+ ".": {
14
+ "types": "./dist/index.d.ts",
15
+ "import": "./dist/ghostty-web.js",
16
+ "require": "./dist/ghostty-web.umd.cjs"
17
+ },
18
+ "./ghostty-vt.wasm": "./ghostty-vt.wasm"
8
19
  },
9
- "keywords": [],
10
- "author": "",
20
+ "files": [
21
+ "bin",
22
+ "dist",
23
+ "ghostty-vt.wasm",
24
+ "README.md"
25
+ ],
26
+ "keywords": [
27
+ "terminal",
28
+ "terminal-emulator",
29
+ "ghostty",
30
+ "web",
31
+ "xterm",
32
+ "vt100",
33
+ "wasm",
34
+ "webassembly",
35
+ "ansi",
36
+ "tty"
37
+ ],
38
+ "repository": {
39
+ "type": "git",
40
+ "url": "https://github.com/coder/ghostty-web.git"
41
+ },
42
+ "bugs": "https://github.com/coder/ghostty-web/issues",
43
+ "homepage": "https://github.com/coder/ghostty-web#readme",
11
44
  "license": "MIT",
12
- "description": ""
45
+ "author": "Coder",
46
+ "publishConfig": {
47
+ "access": "public"
48
+ },
49
+ "scripts": {
50
+ "dev": "vite --port 8000",
51
+ "demo": "node demo/bin/demo.js",
52
+ "demo:dev": "node demo/bin/demo.js --dev",
53
+ "prebuild": "bun install",
54
+ "build": "bun run clean && bun run build:wasm && bun run build:lib && bun run build:wasm-copy",
55
+ "build:wasm": "./scripts/build-wasm.sh",
56
+ "build:lib": "vite build",
57
+ "build:wasm-copy": "cp ghostty-vt.wasm dist/",
58
+ "clean": "rm -rf dist",
59
+ "preview": "vite preview",
60
+ "test": "bun test",
61
+ "typecheck": "tsc --noEmit",
62
+ "fmt": "prettier --check .",
63
+ "fmt:fix": "prettier --write --cache .",
64
+ "lint": "biome check .",
65
+ "lint:fix": "biome check --write .",
66
+ "prepublishOnly": "bun run build",
67
+ "cli:publish": "node scripts/cli-publish.js"
68
+ },
69
+ "dependencies": {
70
+ "@lydell/node-pty": "^1.0.1",
71
+ "ws": "^8.18.0"
72
+ },
73
+ "devDependencies": {
74
+ "@biomejs/biome": "^1.9.4",
75
+ "@happy-dom/global-registrator": "^15.11.0",
76
+ "@types/bun": "^1.3.2",
77
+ "@xterm/headless": "^5.5.0",
78
+ "@xterm/xterm": "^5.5.0",
79
+ "mitata": "^1.0.34",
80
+ "prettier": "^3.6.2",
81
+ "typescript": "^5.9.3",
82
+ "vite": "^4.5.0",
83
+ "vite-plugin-dts": "^4.5.4"
84
+ }
13
85
  }