blob: 8e97fb74e3ea318480a56f6892f0499f14d586a2 [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",
Sean McCullough39995932025-06-25 19:32:08 +000024 "tailwind": "tailwindcss -i ./src/global.css -o ./dist/tailwind.css",
Pokey Rulea4ad8af2025-05-08 15:05:27 +010025 "test": "tsc && npm run test:playwright",
Pokey Rule6866c792025-05-01 15:27:35 +010026 "test:playwright": "playwright test -c playwright-ct.config.ts"
Earl Lee2e463fb2025-04-17 11:22:22 -070027 },
28 "dependencies": {
29 "@xterm/addon-fit": "^0.10.0",
Sean McCullough39995932025-06-25 19:32:08 +000030 "@tailwindcss/cli": "^4.1.10",
Earl Lee2e463fb2025-04-17 11:22:22 -070031 "@xterm/xterm": "^5.5.0",
Philip Zeyliger53ab2452025-06-04 17:49:33 +000032 "dompurify": "^3.2.6",
33 "jsdom": "^26.1.0",
Sean McCullough86b56862025-04-18 13:04:03 -070034 "lit": "^3.2.1",
Earl Lee2e463fb2025-04-17 11:22:22 -070035 "marked": "^15.0.7",
Sean McCullough8d93e362025-04-27 23:32:18 +000036 "mermaid": "^11.6.0",
Philip Zeyliger272a90e2025-05-16 14:49:51 -070037 "monaco-editor": "^0.52.2",
Sean McCullough39995932025-06-25 19:32:08 +000038 "sanitize-html": "^2.15.0",
39 "tailwindcss": "^4.1.10"
Sean McCullough86b56862025-04-18 13:04:03 -070040 },
41 "devDependencies": {
Sean McCulloughb29f8912025-04-20 15:39:11 -070042 "@sand4rt/experimental-ct-web": "^1.51.1",
Sean McCullough86b56862025-04-18 13:04:03 -070043 "@types/marked": "^5.0.2",
44 "@types/mocha": "^10.0.7",
45 "@types/node": "^22.13.14",
Sean McCullough86b56862025-04-18 13:04:03 -070046 "@web/test-runner": "^0.18.2",
47 "@web/test-runner-puppeteer": "^0.18.0",
48 "autoprefixer": "^10.4.21",
49 "esbuild": "^0.25.1",
Pokey Rule8cac59a2025-04-24 12:21:19 +010050 "msw": "^2.7.5",
Sean McCullough71941bd2025-04-18 13:31:48 -070051 "prettier": "3.5.3",
philip.zeyliger6b8b7662025-06-16 03:06:30 +000052 "typescript": "^5.8.3",
dependabot[bot]3a89ba82025-04-30 17:52:29 +000053 "vite": "^6.3.4",
Pokey Rulee2a8c2f2025-04-23 15:09:25 +010054 "vite-plugin-web-components-hmr": "^0.1.3"
Sean McCullough86b56862025-04-18 13:04:03 -070055 },
Pokey Rule8cac59a2025-04-24 12:21:19 +010056 "keywords": [],
57 "msw": {
58 "workerDirectory": [
59 ""
60 ]
61 }
Earl Lee2e463fb2025-04-17 11:22:22 -070062}