| 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": { |
| 13 | "check": "tsc --noEmit", |
| Pokey Rule | e2a8c2f | 2025-04-23 15:09:25 +0100 | [diff] [blame] | 14 | "demo": "vite --open src/web-components/demo/index.html", |
| Sean McCullough | 8d93e36 | 2025-04-27 23:32:18 +0000 | [diff] [blame^] | 15 | "demo:mermaid": "vite --open src/web-components/demo/mermaid-test/index.html", |
| Pokey Rule | ac96b09 | 2025-04-24 14:26:12 +0100 | [diff] [blame] | 16 | "dev": "vite --port 5173 --strictPort", |
| Sean McCullough | 71941bd | 2025-04-18 13:31:48 -0700 | [diff] [blame] | 17 | "format": "prettier ./src --write", |
| Sean McCullough | d9f1337 | 2025-04-21 15:08:49 -0700 | [diff] [blame] | 18 | "gentypes": "go run ../../cmd/go2ts -o src/types.ts", |
| 19 | "build": "go run ../../cmd/go2ts -o src/types.ts && tsc", |
| Sean McCullough | 86b5686 | 2025-04-18 13:04:03 -0700 | [diff] [blame] | 20 | "watch": "tsc --watch", |
| Pokey Rule | 4de8a91 | 2025-04-25 21:01:30 +0100 | [diff] [blame] | 21 | "test": "tsc && npm run test:playwright", |
| 22 | "test:playwright": "playwright test -c playwright-ct.config.ts", |
| 23 | "update-snapshots": "npm run test:playwright -- --update-snapshots" |
| Earl Lee | 2e463fb | 2025-04-17 11:22:22 -0700 | [diff] [blame] | 24 | }, |
| 25 | "dependencies": { |
| 26 | "@xterm/addon-fit": "^0.10.0", |
| 27 | "@xterm/xterm": "^5.5.0", |
| 28 | "diff2html": "3.4.51", |
| Sean McCullough | 86b5686 | 2025-04-18 13:04:03 -0700 | [diff] [blame] | 29 | "lit": "^3.2.1", |
| Earl Lee | 2e463fb | 2025-04-17 11:22:22 -0700 | [diff] [blame] | 30 | "marked": "^15.0.7", |
| Sean McCullough | 8d93e36 | 2025-04-27 23:32:18 +0000 | [diff] [blame^] | 31 | "mermaid": "^11.6.0", |
| Sean McCullough | 86b5686 | 2025-04-18 13:04:03 -0700 | [diff] [blame] | 32 | "sanitize-html": "^2.15.0", |
| Earl Lee | 2e463fb | 2025-04-17 11:22:22 -0700 | [diff] [blame] | 33 | "vega": "^5.33.0", |
| 34 | "vega-embed": "^6.29.0", |
| 35 | "vega-lite": "^5.23.0" |
| Sean McCullough | 86b5686 | 2025-04-18 13:04:03 -0700 | [diff] [blame] | 36 | }, |
| 37 | "devDependencies": { |
| Sean McCullough | b29f891 | 2025-04-20 15:39:11 -0700 | [diff] [blame] | 38 | "@sand4rt/experimental-ct-web": "^1.51.1", |
| Sean McCullough | 86b5686 | 2025-04-18 13:04:03 -0700 | [diff] [blame] | 39 | "@types/marked": "^5.0.2", |
| 40 | "@types/mocha": "^10.0.7", |
| 41 | "@types/node": "^22.13.14", |
| Sean McCullough | 86b5686 | 2025-04-18 13:04:03 -0700 | [diff] [blame] | 42 | "@web/test-runner": "^0.18.2", |
| 43 | "@web/test-runner-puppeteer": "^0.18.0", |
| 44 | "autoprefixer": "^10.4.21", |
| 45 | "esbuild": "^0.25.1", |
| Pokey Rule | 8cac59a | 2025-04-24 12:21:19 +0100 | [diff] [blame] | 46 | "msw": "^2.7.5", |
| Sean McCullough | 71941bd | 2025-04-18 13:31:48 -0700 | [diff] [blame] | 47 | "prettier": "3.5.3", |
| Pokey Rule | e2a8c2f | 2025-04-23 15:09:25 +0100 | [diff] [blame] | 48 | "typescript": "^5.8.2", |
| 49 | "vite": "^6.3.2", |
| 50 | "vite-plugin-web-components-hmr": "^0.1.3" |
| Sean McCullough | 86b5686 | 2025-04-18 13:04:03 -0700 | [diff] [blame] | 51 | }, |
| Pokey Rule | 8cac59a | 2025-04-24 12:21:19 +0100 | [diff] [blame] | 52 | "keywords": [], |
| 53 | "msw": { |
| 54 | "workerDirectory": [ |
| 55 | "" |
| 56 | ] |
| 57 | } |
| Earl Lee | 2e463fb | 2025-04-17 11:22:22 -0700 | [diff] [blame] | 58 | } |