blob: 2d54019a39adcdba95b6b9571a6a6e4f143a3707 [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 McCullough618bfb22025-06-25 20:52:30 +000019 "demo:runner": "vite --open src/web-components/demo/demo-runner.html",
Sean McCullough015b8822025-04-28 12:29:08 -070020 "dev": "vite --port 5173 --strictPort --host 127.0.0.1",
Sean McCullough71941bd2025-04-18 13:31:48 -070021 "format": "prettier ./src --write",
Sean McCulloughd9d45812025-04-30 16:53:41 -070022 "gentypes": "go run ../cmd/go2ts -o src/types.ts",
Sean McCullough015b8822025-04-28 12:29:08 -070023 "build": "go run ../cmd/go2ts -o src/types.ts && tsc",
Sean McCullough86b56862025-04-18 13:04:03 -070024 "watch": "tsc --watch",
Sean McCullough39995932025-06-25 19:32:08 +000025 "tailwind": "tailwindcss -i ./src/global.css -o ./dist/tailwind.css",
philip.zeyliger26bc6592025-06-30 20:15:30 -070026 "lint": "eslint .",
27 "lint:fix": "eslint . --fix",
28 "test": "tsc && tailwindcss -i ./src/global.css -o ./dist/tailwind.css && npm run lint && npm run test:playwright",
Pokey Rule6866c792025-05-01 15:27:35 +010029 "test:playwright": "playwright test -c playwright-ct.config.ts"
Earl Lee2e463fb2025-04-17 11:22:22 -070030 },
31 "dependencies": {
Sean McCullough39995932025-06-25 19:32:08 +000032 "@tailwindcss/cli": "^4.1.10",
bankseand5c849d2025-06-26 15:48:31 +000033 "@tailwindcss/container-queries": "^0.1.1",
Sean McCulloughb3795922025-06-27 01:59:41 +000034 "@tailwindcss/vite": "^4.1.11",
Sean McCullough618bfb22025-06-25 20:52:30 +000035 "@xterm/addon-fit": "^0.10.0",
Earl Lee2e463fb2025-04-17 11:22:22 -070036 "@xterm/xterm": "^5.5.0",
Philip Zeyliger53ab2452025-06-04 17:49:33 +000037 "dompurify": "^3.2.6",
38 "jsdom": "^26.1.0",
Sean McCullough86b56862025-04-18 13:04:03 -070039 "lit": "^3.2.1",
Earl Lee2e463fb2025-04-17 11:22:22 -070040 "marked": "^15.0.7",
Sean McCullough8d93e362025-04-27 23:32:18 +000041 "mermaid": "^11.6.0",
Philip Zeyliger272a90e2025-05-16 14:49:51 -070042 "monaco-editor": "^0.52.2",
Sean McCullough39995932025-06-25 19:32:08 +000043 "sanitize-html": "^2.15.0",
44 "tailwindcss": "^4.1.10"
Sean McCullough86b56862025-04-18 13:04:03 -070045 },
46 "devDependencies": {
philip.zeyliger26bc6592025-06-30 20:15:30 -070047 "@eslint/js": "^9.30.0",
Sean McCulloughb29f8912025-04-20 15:39:11 -070048 "@sand4rt/experimental-ct-web": "^1.51.1",
Sean McCullough86b56862025-04-18 13:04:03 -070049 "@types/marked": "^5.0.2",
50 "@types/mocha": "^10.0.7",
51 "@types/node": "^22.13.14",
Sean McCullough86b56862025-04-18 13:04:03 -070052 "@web/test-runner": "^0.18.2",
53 "@web/test-runner-puppeteer": "^0.18.0",
54 "autoprefixer": "^10.4.21",
Josh Bleecher Snyder39ee05a2025-07-08 11:20:01 -070055 "esbuild": "^0.25.6",
philip.zeyliger26bc6592025-06-30 20:15:30 -070056 "eslint": "^9.30.0",
Pokey Rule8cac59a2025-04-24 12:21:19 +010057 "msw": "^2.7.5",
Sean McCullough71941bd2025-04-18 13:31:48 -070058 "prettier": "3.5.3",
philip.zeyliger6b8b7662025-06-16 03:06:30 +000059 "typescript": "^5.8.3",
philip.zeyliger26bc6592025-06-30 20:15:30 -070060 "typescript-eslint": "^8.35.1",
dependabot[bot]3a89ba82025-04-30 17:52:29 +000061 "vite": "^6.3.4",
Pokey Rulee2a8c2f2025-04-23 15:09:25 +010062 "vite-plugin-web-components-hmr": "^0.1.3"
Sean McCullough86b56862025-04-18 13:04:03 -070063 },
Pokey Rule8cac59a2025-04-24 12:21:19 +010064 "keywords": [],
65 "msw": {
66 "workerDirectory": [
67 ""
68 ]
69 }
Earl Lee2e463fb2025-04-17 11:22:22 -070070}