blob: b9eac738965387ae272ef1d0c8fad4b60a2a9982 [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 McCullough04e778c2025-05-10 22:08:04 -070010 "./sketch-app-shell.js": "./dist/sketch-app-shell.js",
11 "./web-components/*": "./dist/web-components/*.js"
Sean McCullough86b56862025-04-18 13:04:03 -070012 },
Earl Lee2e463fb2025-04-17 11:22:22 -070013 "scripts": {
Pokey Ruled6d2c692025-04-28 09:52:19 +010014 "playwright-install": "playwright install",
Earl Lee2e463fb2025-04-17 11:22:22 -070015 "check": "tsc --noEmit",
Philip Zeyliger16fa8b42025-05-02 04:28:16 +000016 "demo": "vite --open /src/web-components/demo/index.html",
Sean McCullough8d93e362025-04-27 23:32:18 +000017 "demo:mermaid": "vite --open src/web-components/demo/mermaid-test/index.html",
Sean McCullough015b8822025-04-28 12:29:08 -070018 "dev": "vite --port 5173 --strictPort --host 127.0.0.1",
Sean McCullough71941bd2025-04-18 13:31:48 -070019 "format": "prettier ./src --write",
Sean McCulloughd9d45812025-04-30 16:53:41 -070020 "gentypes": "go run ../cmd/go2ts -o src/types.ts",
Sean McCullough015b8822025-04-28 12:29:08 -070021 "build": "go run ../cmd/go2ts -o src/types.ts && tsc",
Sean McCullough86b56862025-04-18 13:04:03 -070022 "watch": "tsc --watch",
Pokey Rulea4ad8af2025-05-08 15:05:27 +010023 "test": "tsc && npm run test:playwright",
Pokey Rule6866c792025-05-01 15:27:35 +010024 "test:playwright": "playwright test -c playwright-ct.config.ts"
Earl Lee2e463fb2025-04-17 11:22:22 -070025 },
26 "dependencies": {
27 "@xterm/addon-fit": "^0.10.0",
28 "@xterm/xterm": "^5.5.0",
Sean McCullough86b56862025-04-18 13:04:03 -070029 "lit": "^3.2.1",
Earl Lee2e463fb2025-04-17 11:22:22 -070030 "marked": "^15.0.7",
Sean McCullough8d93e362025-04-27 23:32:18 +000031 "mermaid": "^11.6.0",
Philip Zeyliger272a90e2025-05-16 14:49:51 -070032 "monaco-editor": "^0.52.2",
Philip Zeyliger2d4c48f2025-05-02 23:35:03 +000033 "sanitize-html": "^2.15.0"
Sean McCullough86b56862025-04-18 13:04:03 -070034 },
35 "devDependencies": {
Sean McCulloughb29f8912025-04-20 15:39:11 -070036 "@sand4rt/experimental-ct-web": "^1.51.1",
Sean McCullough86b56862025-04-18 13:04:03 -070037 "@types/marked": "^5.0.2",
38 "@types/mocha": "^10.0.7",
39 "@types/node": "^22.13.14",
Sean McCullough86b56862025-04-18 13:04:03 -070040 "@web/test-runner": "^0.18.2",
41 "@web/test-runner-puppeteer": "^0.18.0",
42 "autoprefixer": "^10.4.21",
43 "esbuild": "^0.25.1",
Pokey Rule8cac59a2025-04-24 12:21:19 +010044 "msw": "^2.7.5",
Sean McCullough71941bd2025-04-18 13:31:48 -070045 "prettier": "3.5.3",
Pokey Rulee2a8c2f2025-04-23 15:09:25 +010046 "typescript": "^5.8.2",
dependabot[bot]3a89ba82025-04-30 17:52:29 +000047 "vite": "^6.3.4",
Pokey Rulee2a8c2f2025-04-23 15:09:25 +010048 "vite-plugin-web-components-hmr": "^0.1.3"
Sean McCullough86b56862025-04-18 13:04:03 -070049 },
Pokey Rule8cac59a2025-04-24 12:21:19 +010050 "keywords": [],
51 "msw": {
52 "workerDirectory": [
53 ""
54 ]
55 }
Earl Lee2e463fb2025-04-17 11:22:22 -070056}