43 lines
1.5 KiB
JSON
43 lines
1.5 KiB
JSON
{
|
|
"name": "excali",
|
|
"type": "module",
|
|
"private": true,
|
|
"scripts": {
|
|
"dev": "bun --hot src/server/dev-server.tsx",
|
|
"build": "rm -rf dist && bun run build:client && bun run build:server && bun run build:mcp",
|
|
"build:client": "bun build --target=browser --production --outdir ./dist/public ./src/client/index.html",
|
|
"build:server": "mkdir -p ./dist/server && bun build --target=bun --production --outfile ./dist/server/server.js ./src/server/http-server.tsx",
|
|
"build:mcp": "mkdir -p ./dist/mcp && bun build --target=bun --production --outfile ./dist/mcp/mcp-server.js ./src/mcp/server.ts",
|
|
"format": "prettier --write .",
|
|
"postinstall": "simple-git-hooks",
|
|
"start": "DATABASE_PATH=./data/excalidraw.sqlite bun ./dist/server/server.js",
|
|
"test": "bun test",
|
|
"typecheck": "tsc --noEmit"
|
|
},
|
|
"simple-git-hooks": {
|
|
"pre-commit": "bunx pretty-quick --staged"
|
|
},
|
|
"dependencies": {
|
|
"@excalidraw/excalidraw": "^0.18.1",
|
|
"@modelcontextprotocol/sdk": "^1.29.0",
|
|
"fast-json-patch": "^3.1.1",
|
|
"mcp-handler": "^1.1.0",
|
|
"react": "^19.2.6",
|
|
"react-dom": "^19.2.6",
|
|
"shiki": "^4.1.0",
|
|
"zod": "^4.4.3"
|
|
},
|
|
"devDependencies": {
|
|
"@types/bun": "^1.3.14",
|
|
"@types/react": "^19.2.15",
|
|
"@types/react-dom": "^19.2.3",
|
|
"prettier": "^3.8.3",
|
|
"pretty-quick": "^4.2.2",
|
|
"simple-git-hooks": "^2.13.1",
|
|
"typescript": "^5.9.3"
|
|
},
|
|
"patchedDependencies": {
|
|
"@excalidraw/excalidraw@0.18.1": "patches/@excalidraw%2Fexcalidraw@0.18.1.patch"
|
|
}
|
|
}
|