blob: 14f940f6e96ff4e1b3567197693fc3b8233aa76a [file] [log] [blame]
Earl Lee2e463fb2025-04-17 11:22:22 -07001{
Sean McCullough04e778c2025-05-10 22:08:04 -07002 "name": "sketch-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",
Sean McCullough021231a2025-06-12 09:35:24 -070010 "./messages-viewer.js": "./dist/messages-viewer.js",
Sean McCullough04e778c2025-05-10 22:08:04 -070011 "./sketch-app-shell.js": "./dist/sketch-app-shell.js",
12 "./web-components/*": "./dist/web-components/*.js"
Sean McCullough86b56862025-04-18 13:04:03 -070013 },
Earl Lee2e463fb2025-04-17 11:22:22 -070014 "scripts": {
Pokey Ruled6d2c692025-04-28 09:52:19 +010015 "playwright-install": "playwright install",
Earl Lee2e463fb2025-04-17 11:22:22 -070016 "check": "tsc --noEmit",
Philip Zeyliger16fa8b42025-05-02 04:28:16 +000017 "demo": "vite --open /src/web-components/demo/index.html",
Sean McCullough8d93e362025-04-27 23:32:18 +000018 "demo:mermaid": "vite --open src/web-components/demo/mermaid-test/index.html",
Sean McCullough015b8822025-04-28 12:29:08 -070019 "dev": "vite --port 5173 --strictPort --host 127.0.0.1",
Sean McCullough71941bd2025-04-18 13:31:48 -070020 "format": "prettier ./src --write",
Sean McCulloughd9d45812025-04-30 16:53:41 -070021 "gentypes": "go run ../cmd/go2ts -o src/types.ts",
Sean McCullough015b8822025-04-28 12:29:08 -070022 "build": "go run ../cmd/go2ts -o src/types.ts && tsc",
Sean McCullough86b56862025-04-18 13:04:03 -070023 "watch": "tsc --watch",
Pokey Rulea4ad8af2025-05-08 15:05:27 +010024 "test": "tsc && npm run test:playwright",
Pokey Rule6866c792025-05-01 15:27:35 +010025 "test:playwright": "playwright test -c playwright-ct.config.ts"
Earl Lee2e463fb2025-04-17 11:22:22 -070026 },
27 "dependencies": {
28 "@xterm/addon-fit": "^0.10.0",
29 "@xterm/xterm": "^5.5.0",
Philip Zeyliger53ab2452025-06-04 17:49:33 +000030 "dompurify": "^3.2.6",
31 "jsdom": "^26.1.0",
Sean McCullough86b56862025-04-18 13:04:03 -070032 "lit": "^3.2.1",
Earl Lee2e463fb2025-04-17 11:22:22 -070033 "marked": "^15.0.7",
Sean McCullough8d93e362025-04-27 23:32:18 +000034 "mermaid": "^11.6.0",
Philip Zeyliger272a90e2025-05-16 14:49:51 -070035 "monaco-editor": "^0.52.2",
Philip Zeyliger2d4c48f2025-05-02 23:35:03 +000036 "sanitize-html": "^2.15.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",
philip.zeyliger6b8b7662025-06-16 03:06:30 +000049 "typescript": "^5.8.3",
dependabot[bot]3a89ba82025-04-30 17:52:29 +000050 "vite": "^6.3.4",
Pokey Rulee2a8c2f2025-04-23 15:09:25 +010051 "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}