blob: e1b76de26b2f8f76f0255699e1b32c193c8b7fd3 [file] [log] [blame]
Earl Lee2e463fb2025-04-17 11:22:22 -07001{
2 "name": "webui",
Earl Lee2e463fb2025-04-17 11:22:22 -07003 "description": "Web UI for CodingAgent.",
Sean McCullough86b56862025-04-18 13:04:03 -07004 "license": "ISC",
5 "author": "",
6 "version": "1.0.0",
Earl Lee2e463fb2025-04-17 11:22:22 -07007 "main": "dist/index.js",
Sean McCullough86b56862025-04-18 13:04:03 -07008 "exports": {
9 ".": "./dist/index.js",
10 "./sketch-app-shell.js": "./dist/sketch-app-shell.js"
11 },
Earl Lee2e463fb2025-04-17 11:22:22 -070012 "scripts": {
Pokey Ruled6d2c692025-04-28 09:52:19 +010013 "playwright-install": "playwright install",
Earl Lee2e463fb2025-04-17 11:22:22 -070014 "check": "tsc --noEmit",
Pokey Rulee2a8c2f2025-04-23 15:09:25 +010015 "demo": "vite --open src/web-components/demo/index.html",
Sean McCullough8d93e362025-04-27 23:32:18 +000016 "demo:mermaid": "vite --open src/web-components/demo/mermaid-test/index.html",
Sean McCullough015b8822025-04-28 12:29:08 -070017 "dev": "vite --port 5173 --strictPort --host 127.0.0.1",
Sean McCullough71941bd2025-04-18 13:31:48 -070018 "format": "prettier ./src --write",
Sean McCulloughd9f13372025-04-21 15:08:49 -070019 "gentypes": "go run ../../cmd/go2ts -o src/types.ts",
Sean McCullough015b8822025-04-28 12:29:08 -070020 "build": "go run ../cmd/go2ts -o src/types.ts && tsc",
Sean McCullough86b56862025-04-18 13:04:03 -070021 "watch": "tsc --watch",
Pokey Rule4de8a912025-04-25 21:01:30 +010022 "test": "tsc && npm run test:playwright",
23 "test:playwright": "playwright test -c playwright-ct.config.ts",
24 "update-snapshots": "npm run test:playwright -- --update-snapshots"
Earl Lee2e463fb2025-04-17 11:22:22 -070025 },
26 "dependencies": {
27 "@xterm/addon-fit": "^0.10.0",
28 "@xterm/xterm": "^5.5.0",
29 "diff2html": "3.4.51",
Sean McCullough86b56862025-04-18 13:04:03 -070030 "lit": "^3.2.1",
Earl Lee2e463fb2025-04-17 11:22:22 -070031 "marked": "^15.0.7",
Sean McCullough8d93e362025-04-27 23:32:18 +000032 "mermaid": "^11.6.0",
Sean McCullough86b56862025-04-18 13:04:03 -070033 "sanitize-html": "^2.15.0",
Earl Lee2e463fb2025-04-17 11:22:22 -070034 "vega": "^5.33.0",
35 "vega-embed": "^6.29.0",
36 "vega-lite": "^5.23.0"
Sean McCullough86b56862025-04-18 13:04:03 -070037 },
38 "devDependencies": {
Sean McCulloughb29f8912025-04-20 15:39:11 -070039 "@sand4rt/experimental-ct-web": "^1.51.1",
Sean McCullough86b56862025-04-18 13:04:03 -070040 "@types/marked": "^5.0.2",
41 "@types/mocha": "^10.0.7",
42 "@types/node": "^22.13.14",
Sean McCullough86b56862025-04-18 13:04:03 -070043 "@web/test-runner": "^0.18.2",
44 "@web/test-runner-puppeteer": "^0.18.0",
45 "autoprefixer": "^10.4.21",
46 "esbuild": "^0.25.1",
Pokey Rule8cac59a2025-04-24 12:21:19 +010047 "msw": "^2.7.5",
Sean McCullough71941bd2025-04-18 13:31:48 -070048 "prettier": "3.5.3",
Pokey Rulee2a8c2f2025-04-23 15:09:25 +010049 "typescript": "^5.8.2",
50 "vite": "^6.3.2",
51 "vite-plugin-web-components-hmr": "^0.1.3"
Sean McCullough86b56862025-04-18 13:04:03 -070052 },
Pokey Rule8cac59a2025-04-24 12:21:19 +010053 "keywords": [],
54 "msw": {
55 "workerDirectory": [
56 ""
57 ]
58 }
Earl Lee2e463fb2025-04-17 11:22:22 -070059}