| Earl Lee | 2e463fb | 2025-04-17 11:22:22 -0700 | [diff] [blame] | 1 | { |
| Sean McCullough | 04e778c | 2025-05-10 22:08:04 -0700 | [diff] [blame] | 2 | "name": "sketch-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", |
| Sean McCullough | 04e778c | 2025-05-10 22:08:04 -0700 | [diff] [blame] | 10 | "./sketch-app-shell.js": "./dist/sketch-app-shell.js", |
| 11 | "./web-components/*": "./dist/web-components/*.js" |
| Sean McCullough | 86b5686 | 2025-04-18 13:04:03 -0700 | [diff] [blame] | 12 | }, |
| Earl Lee | 2e463fb | 2025-04-17 11:22:22 -0700 | [diff] [blame] | 13 | "scripts": { |
| Pokey Rule | d6d2c69 | 2025-04-28 09:52:19 +0100 | [diff] [blame] | 14 | "playwright-install": "playwright install", |
| Earl Lee | 2e463fb | 2025-04-17 11:22:22 -0700 | [diff] [blame] | 15 | "check": "tsc --noEmit", |
| banksean | 581bd79 | 2025-07-20 18:30:12 -0700 | [diff] [blame] | 16 | "demo": "vite --open src/web-components/demo/demo.html", |
| Sean McCullough | 015b882 | 2025-04-28 12:29:08 -0700 | [diff] [blame] | 17 | "dev": "vite --port 5173 --strictPort --host 127.0.0.1", |
| Sean McCullough | 71941bd | 2025-04-18 13:31:48 -0700 | [diff] [blame] | 18 | "format": "prettier ./src --write", |
| Sean McCullough | d9d4581 | 2025-04-30 16:53:41 -0700 | [diff] [blame] | 19 | "gentypes": "go run ../cmd/go2ts -o src/types.ts", |
| Sean McCullough | 015b882 | 2025-04-28 12:29:08 -0700 | [diff] [blame] | 20 | "build": "go run ../cmd/go2ts -o src/types.ts && tsc", |
| Sean McCullough | 86b5686 | 2025-04-18 13:04:03 -0700 | [diff] [blame] | 21 | "watch": "tsc --watch", |
| Sean McCullough | 3999593 | 2025-06-25 19:32:08 +0000 | [diff] [blame] | 22 | "tailwind": "tailwindcss -i ./src/global.css -o ./dist/tailwind.css", |
| philip.zeyliger | 26bc659 | 2025-06-30 20:15:30 -0700 | [diff] [blame] | 23 | "lint": "eslint .", |
| 24 | "lint:fix": "eslint . --fix", |
| 25 | "test": "tsc && tailwindcss -i ./src/global.css -o ./dist/tailwind.css && npm run lint && npm run test:playwright", |
| Pokey Rule | 6866c79 | 2025-05-01 15:27:35 +0100 | [diff] [blame] | 26 | "test:playwright": "playwright test -c playwright-ct.config.ts" |
| Earl Lee | 2e463fb | 2025-04-17 11:22:22 -0700 | [diff] [blame] | 27 | }, |
| 28 | "dependencies": { |
| Sean McCullough | 3999593 | 2025-06-25 19:32:08 +0000 | [diff] [blame] | 29 | "@tailwindcss/cli": "^4.1.10", |
| banksean | d5c849d | 2025-06-26 15:48:31 +0000 | [diff] [blame] | 30 | "@tailwindcss/container-queries": "^0.1.1", |
| Sean McCullough | b379592 | 2025-06-27 01:59:41 +0000 | [diff] [blame] | 31 | "@tailwindcss/vite": "^4.1.11", |
| Sean McCullough | 618bfb2 | 2025-06-25 20:52:30 +0000 | [diff] [blame] | 32 | "@xterm/addon-fit": "^0.10.0", |
| Earl Lee | 2e463fb | 2025-04-17 11:22:22 -0700 | [diff] [blame] | 33 | "@xterm/xterm": "^5.5.0", |
| Philip Zeyliger | 53ab245 | 2025-06-04 17:49:33 +0000 | [diff] [blame] | 34 | "dompurify": "^3.2.6", |
| 35 | "jsdom": "^26.1.0", |
| Sean McCullough | 86b5686 | 2025-04-18 13:04:03 -0700 | [diff] [blame] | 36 | "lit": "^3.2.1", |
| Earl Lee | 2e463fb | 2025-04-17 11:22:22 -0700 | [diff] [blame] | 37 | "marked": "^15.0.7", |
| Sean McCullough | 8d93e36 | 2025-04-27 23:32:18 +0000 | [diff] [blame] | 38 | "mermaid": "^11.6.0", |
| Philip Zeyliger | 272a90e | 2025-05-16 14:49:51 -0700 | [diff] [blame] | 39 | "monaco-editor": "^0.52.2", |
| Sean McCullough | 3999593 | 2025-06-25 19:32:08 +0000 | [diff] [blame] | 40 | "sanitize-html": "^2.15.0", |
| 41 | "tailwindcss": "^4.1.10" |
| Sean McCullough | 86b5686 | 2025-04-18 13:04:03 -0700 | [diff] [blame] | 42 | }, |
| 43 | "devDependencies": { |
| philip.zeyliger | 26bc659 | 2025-06-30 20:15:30 -0700 | [diff] [blame] | 44 | "@eslint/js": "^9.30.0", |
| Sean McCullough | b29f891 | 2025-04-20 15:39:11 -0700 | [diff] [blame] | 45 | "@sand4rt/experimental-ct-web": "^1.51.1", |
| Sean McCullough | 86b5686 | 2025-04-18 13:04:03 -0700 | [diff] [blame] | 46 | "@types/marked": "^5.0.2", |
| 47 | "@types/mocha": "^10.0.7", |
| 48 | "@types/node": "^22.13.14", |
| Sean McCullough | 86b5686 | 2025-04-18 13:04:03 -0700 | [diff] [blame] | 49 | "@web/test-runner": "^0.18.2", |
| 50 | "@web/test-runner-puppeteer": "^0.18.0", |
| 51 | "autoprefixer": "^10.4.21", |
| Josh Bleecher Snyder | 39ee05a | 2025-07-08 11:20:01 -0700 | [diff] [blame] | 52 | "esbuild": "^0.25.6", |
| philip.zeyliger | 26bc659 | 2025-06-30 20:15:30 -0700 | [diff] [blame] | 53 | "eslint": "^9.30.0", |
| Pokey Rule | 8cac59a | 2025-04-24 12:21:19 +0100 | [diff] [blame] | 54 | "msw": "^2.7.5", |
| Sean McCullough | 71941bd | 2025-04-18 13:31:48 -0700 | [diff] [blame] | 55 | "prettier": "3.5.3", |
| philip.zeyliger | 6b8b766 | 2025-06-16 03:06:30 +0000 | [diff] [blame] | 56 | "typescript": "^5.8.3", |
| philip.zeyliger | 26bc659 | 2025-06-30 20:15:30 -0700 | [diff] [blame] | 57 | "typescript-eslint": "^8.35.1", |
| dependabot[bot] | 3a89ba8 | 2025-04-30 17:52:29 +0000 | [diff] [blame] | 58 | "vite": "^6.3.4", |
| Pokey Rule | e2a8c2f | 2025-04-23 15:09:25 +0100 | [diff] [blame] | 59 | "vite-plugin-web-components-hmr": "^0.1.3" |
| Sean McCullough | 86b5686 | 2025-04-18 13:04:03 -0700 | [diff] [blame] | 60 | }, |
| Pokey Rule | 8cac59a | 2025-04-24 12:21:19 +0100 | [diff] [blame] | 61 | "keywords": [], |
| 62 | "msw": { |
| 63 | "workerDirectory": [ |
| 64 | "" |
| 65 | ] |
| 66 | } |
| Earl Lee | 2e463fb | 2025-04-17 11:22:22 -0700 | [diff] [blame] | 67 | } |