| Earl Lee | 2e463fb | 2025-04-17 11:22:22 -0700 | [diff] [blame] | 1 | { |
| 2 | "name": "webui", |
| Earl Lee | 2e463fb | 2025-04-17 11:22:22 -0700 | [diff] [blame] | 3 | "description": "Web UI for CodingAgent.", |
| Sean McCullough | 86b5686 | 2025-04-18 13:04:03 -0700 | [diff] [blame] | 4 | "license": "ISC", |
| 5 | "author": "", |
| 6 | "version": "1.0.0", |
| Earl Lee | 2e463fb | 2025-04-17 11:22:22 -0700 | [diff] [blame] | 7 | "main": "dist/index.js", |
| Sean McCullough | 86b5686 | 2025-04-18 13:04:03 -0700 | [diff] [blame] | 8 | "exports": { |
| 9 | ".": "./dist/index.js", |
| 10 | "./sketch-app-shell.js": "./dist/sketch-app-shell.js" |
| 11 | }, |
| Earl Lee | 2e463fb | 2025-04-17 11:22:22 -0700 | [diff] [blame] | 12 | "scripts": { |
| Pokey Rule | d6d2c69 | 2025-04-28 09:52:19 +0100 | [diff] [blame^] | 13 | "playwright-install": "playwright install", |
| Earl Lee | 2e463fb | 2025-04-17 11:22:22 -0700 | [diff] [blame] | 14 | "check": "tsc --noEmit", |
| Pokey Rule | e2a8c2f | 2025-04-23 15:09:25 +0100 | [diff] [blame] | 15 | "demo": "vite --open src/web-components/demo/index.html", |
| Sean McCullough | 8d93e36 | 2025-04-27 23:32:18 +0000 | [diff] [blame] | 16 | "demo:mermaid": "vite --open src/web-components/demo/mermaid-test/index.html", |
| Pokey Rule | ac96b09 | 2025-04-24 14:26:12 +0100 | [diff] [blame] | 17 | "dev": "vite --port 5173 --strictPort", |
| Sean McCullough | 71941bd | 2025-04-18 13:31:48 -0700 | [diff] [blame] | 18 | "format": "prettier ./src --write", |
| Sean McCullough | d9f1337 | 2025-04-21 15:08:49 -0700 | [diff] [blame] | 19 | "gentypes": "go run ../../cmd/go2ts -o src/types.ts", |
| 20 | "build": "go run ../../cmd/go2ts -o src/types.ts && tsc", |
| Sean McCullough | 86b5686 | 2025-04-18 13:04:03 -0700 | [diff] [blame] | 21 | "watch": "tsc --watch", |
| Pokey Rule | 4de8a91 | 2025-04-25 21:01:30 +0100 | [diff] [blame] | 22 | "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 Lee | 2e463fb | 2025-04-17 11:22:22 -0700 | [diff] [blame] | 25 | }, |
| 26 | "dependencies": { |
| 27 | "@xterm/addon-fit": "^0.10.0", |
| 28 | "@xterm/xterm": "^5.5.0", |
| 29 | "diff2html": "3.4.51", |
| Sean McCullough | 86b5686 | 2025-04-18 13:04:03 -0700 | [diff] [blame] | 30 | "lit": "^3.2.1", |
| Earl Lee | 2e463fb | 2025-04-17 11:22:22 -0700 | [diff] [blame] | 31 | "marked": "^15.0.7", |
| Sean McCullough | 8d93e36 | 2025-04-27 23:32:18 +0000 | [diff] [blame] | 32 | "mermaid": "^11.6.0", |
| Sean McCullough | 86b5686 | 2025-04-18 13:04:03 -0700 | [diff] [blame] | 33 | "sanitize-html": "^2.15.0", |
| Earl Lee | 2e463fb | 2025-04-17 11:22:22 -0700 | [diff] [blame] | 34 | "vega": "^5.33.0", |
| 35 | "vega-embed": "^6.29.0", |
| 36 | "vega-lite": "^5.23.0" |
| Sean McCullough | 86b5686 | 2025-04-18 13:04:03 -0700 | [diff] [blame] | 37 | }, |
| 38 | "devDependencies": { |
| Sean McCullough | b29f891 | 2025-04-20 15:39:11 -0700 | [diff] [blame] | 39 | "@sand4rt/experimental-ct-web": "^1.51.1", |
| Sean McCullough | 86b5686 | 2025-04-18 13:04:03 -0700 | [diff] [blame] | 40 | "@types/marked": "^5.0.2", |
| 41 | "@types/mocha": "^10.0.7", |
| 42 | "@types/node": "^22.13.14", |
| Sean McCullough | 86b5686 | 2025-04-18 13:04:03 -0700 | [diff] [blame] | 43 | "@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 Rule | 8cac59a | 2025-04-24 12:21:19 +0100 | [diff] [blame] | 47 | "msw": "^2.7.5", |
| Sean McCullough | 71941bd | 2025-04-18 13:31:48 -0700 | [diff] [blame] | 48 | "prettier": "3.5.3", |
| Pokey Rule | e2a8c2f | 2025-04-23 15:09:25 +0100 | [diff] [blame] | 49 | "typescript": "^5.8.2", |
| 50 | "vite": "^6.3.2", |
| 51 | "vite-plugin-web-components-hmr": "^0.1.3" |
| Sean McCullough | 86b5686 | 2025-04-18 13:04:03 -0700 | [diff] [blame] | 52 | }, |
| Pokey Rule | 8cac59a | 2025-04-24 12:21:19 +0100 | [diff] [blame] | 53 | "keywords": [], |
| 54 | "msw": { |
| 55 | "workerDirectory": [ |
| 56 | "" |
| 57 | ] |
| 58 | } |
| Earl Lee | 2e463fb | 2025-04-17 11:22:22 -0700 | [diff] [blame] | 59 | } |