blob: 90fb3fd22288cd3c247fe28f499693da2a715c27 [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",
banksean581bd792025-07-20 18:30:12 -070016 "demo": "vite --open src/web-components/demo/demo.html",
Sean McCullough015b8822025-04-28 12:29:08 -070017 "dev": "vite --port 5173 --strictPort --host 127.0.0.1",
Sean McCullough71941bd2025-04-18 13:31:48 -070018 "format": "prettier ./src --write",
Sean McCulloughd9d45812025-04-30 16:53:41 -070019 "gentypes": "go run ../cmd/go2ts -o src/types.ts",
Sean McCullough015b8822025-04-28 12:29:08 -070020 "build": "go run ../cmd/go2ts -o src/types.ts && tsc",
Sean McCullough86b56862025-04-18 13:04:03 -070021 "watch": "tsc --watch",
Sean McCullough39995932025-06-25 19:32:08 +000022 "tailwind": "tailwindcss -i ./src/global.css -o ./dist/tailwind.css",
philip.zeyliger26bc6592025-06-30 20:15:30 -070023 "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 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": {
bankseanbdc68892025-07-28 17:28:13 -070029 "@octokit/webhooks-types": "^7.6.1",
Sean McCullough39995932025-06-25 19:32:08 +000030 "@tailwindcss/cli": "^4.1.10",
bankseand5c849d2025-06-26 15:48:31 +000031 "@tailwindcss/container-queries": "^0.1.1",
Sean McCulloughb3795922025-06-27 01:59:41 +000032 "@tailwindcss/vite": "^4.1.11",
Sean McCullough618bfb22025-06-25 20:52:30 +000033 "@xterm/addon-fit": "^0.10.0",
Earl Lee2e463fb2025-04-17 11:22:22 -070034 "@xterm/xterm": "^5.5.0",
Philip Zeyliger53ab2452025-06-04 17:49:33 +000035 "dompurify": "^3.2.6",
36 "jsdom": "^26.1.0",
Sean McCullough86b56862025-04-18 13:04:03 -070037 "lit": "^3.2.1",
Earl Lee2e463fb2025-04-17 11:22:22 -070038 "marked": "^15.0.7",
Sean McCullough8d93e362025-04-27 23:32:18 +000039 "mermaid": "^11.6.0",
Philip Zeyliger272a90e2025-05-16 14:49:51 -070040 "monaco-editor": "^0.52.2",
Sean McCullough39995932025-06-25 19:32:08 +000041 "sanitize-html": "^2.15.0",
42 "tailwindcss": "^4.1.10"
Sean McCullough86b56862025-04-18 13:04:03 -070043 },
44 "devDependencies": {
philip.zeyliger26bc6592025-06-30 20:15:30 -070045 "@eslint/js": "^9.30.0",
Sean McCulloughb29f8912025-04-20 15:39:11 -070046 "@sand4rt/experimental-ct-web": "^1.51.1",
Sean McCullough86b56862025-04-18 13:04:03 -070047 "@types/marked": "^5.0.2",
48 "@types/mocha": "^10.0.7",
49 "@types/node": "^22.13.14",
Sean McCullough86b56862025-04-18 13:04:03 -070050 "@web/test-runner": "^0.18.2",
51 "@web/test-runner-puppeteer": "^0.18.0",
52 "autoprefixer": "^10.4.21",
Josh Bleecher Snyder39ee05a2025-07-08 11:20:01 -070053 "esbuild": "^0.25.6",
philip.zeyliger26bc6592025-06-30 20:15:30 -070054 "eslint": "^9.30.0",
Pokey Rule8cac59a2025-04-24 12:21:19 +010055 "msw": "^2.7.5",
Sean McCullough71941bd2025-04-18 13:31:48 -070056 "prettier": "3.5.3",
philip.zeyliger6b8b7662025-06-16 03:06:30 +000057 "typescript": "^5.8.3",
philip.zeyliger26bc6592025-06-30 20:15:30 -070058 "typescript-eslint": "^8.35.1",
dependabot[bot]3a89ba82025-04-30 17:52:29 +000059 "vite": "^6.3.4",
Pokey Rulee2a8c2f2025-04-23 15:09:25 +010060 "vite-plugin-web-components-hmr": "^0.1.3"
Sean McCullough86b56862025-04-18 13:04:03 -070061 },
Pokey Rule8cac59a2025-04-24 12:21:19 +010062 "keywords": [],
63 "msw": {
64 "workerDirectory": [
65 ""
66 ]
67 }
Earl Lee2e463fb2025-04-17 11:22:22 -070068}