forked from diegosouzapw/ghostty-web
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
97 lines (97 loc) · 2.75 KB
/
Copy pathpackage.json
File metadata and controls
97 lines (97 loc) · 2.75 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
{
"name": "@crunchloop/ghostty-web",
"version": "0.4.1",
"description": "Web-based terminal emulator using Ghostty's VT100 parser via WebAssembly",
"type": "module",
"main": "./dist/ghostty-web.cjs.js",
"module": "./dist/ghostty-web.es.js",
"types": "./dist/ghostty-web.d.ts",
"exports": {
".": {
"types": "./dist/ghostty-web.d.ts",
"import": "./dist/ghostty-web.es.js",
"require": "./dist/ghostty-web.cjs.js"
},
"./headless": {
"types": "./dist/headless.d.ts",
"import": "./dist/headless.es.js",
"require": "./dist/headless.cjs.js"
},
"./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": "git+https://github.com/crunchloop/ghostty-web.git"
},
"bugs": "https://github.com/crunchloop/ghostty-web/issues",
"homepage": "https://github.com/crunchloop/ghostty-web#readme",
"license": "MIT",
"author": "Coder",
"publishConfig": {
"access": "public"
},
"overrides": {
"rollup": "3.30.0",
"postcss": "8.5.10"
},
"scripts": {
"dev": "vite --port 8000",
"demo": "node demo/bin/demo.js",
"demo:dev": "node demo/bin/demo.js --dev",
"test:render": "bun demo/bin/render-test.ts",
"test:render:update": "bun demo/bin/render-test.ts --update",
"test:render:web": "bunx serve . -p 3000",
"prebuild": "bun install",
"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 lib/ happydom.ts",
"test:e2e": "bunx playwright test",
"test:e2e:ui": "bunx playwright test --ui",
"test:e2e:headed": "bunx playwright test --headed",
"test:e2e:report": "bunx playwright show-report tests/e2e/report",
"typecheck": "tsc --noEmit",
"fmt": "prettier --check .",
"fmt:fix": "prettier --write --cache .",
"lint": "biome check .",
"lint:fix": "biome check --write .",
"prepublishOnly": "bun run build"
},
"dependencies": {
"fast-png": "^7.0.0"
},
"devDependencies": {
"@biomejs/biome": "^1.9.4",
"@happy-dom/global-registrator": "20.9.0",
"@playwright/test": "^1.60.0",
"@types/bun": "^1.3.2",
"@xterm/headless": "^5.5.0",
"@xterm/xterm": "^5.5.0",
"mitata": "^1.0.34",
"prettier": "^3.6.2",
"puppeteer": "^24.37.5",
"typescript": "^5.9.3",
"vite": "^4.5.0",
"vite-plugin-dts": "^4.5.4"
}
}