-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
114 lines (114 loc) · 3.8 KB
/
package.json
File metadata and controls
114 lines (114 loc) · 3.8 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
{
"name": "@pgplex/pgconsole",
"description": "Postgres Editor with Guardrails",
"version": "1.1.1",
"type": "module",
"bin": {
"pgconsole": "dist/server.mjs"
},
"files": [
"dist/"
],
"repository": {
"type": "git",
"url": "https://github.com/pgplex/pgconsole"
},
"publishConfig": {
"access": "public"
},
"scripts": {
"gen": "buf generate --template proto/buf.gen.yaml proto && node scripts/fix-imports.mjs",
"build:server": "node scripts/build-server.mjs",
"build:server:watch": "node scripts/build-server.mjs --watch --dev",
"dev": "pnpm gen && pnpm build:server -- --dev && concurrently \"pnpm dev:vite\" \"pnpm dev:server\"",
"dev:vite": "node scripts/wait-for-port.mjs 9876 && vite",
"dev:server": "concurrently \"pnpm build:server:watch\" \"node scripts/sleep.mjs 2 && node --watch dist/server.mjs --config pgconsole.toml\"",
"build": "pnpm gen && pnpm build:server && tsc -b && vite build",
"lint": "eslint .",
"preview": "vite preview",
"start": "node dist/server.mjs",
"test": "vitest",
"test:parser": "vitest tests/sql-parser",
"test:format": "vitest tests/sql-format",
"test:autocomplete": "vitest tests/sql-autocomplete",
"test:fixture": "tsx scripts/generate-fixtures.ts",
"test:api": "node dist/server.mjs --config tests/pgconsole.test.toml & PID=$! && node scripts/wait-for-port.mjs 9876 && hurl --test tests/api/*.hurl; EXIT=$?; kill $PID 2>/dev/null; exit $EXIT"
},
"dependencies": {
"@anthropic-ai/sdk": "^0.72.1",
"@base-ui/react": "^1.0.0",
"@bufbuild/protobuf": "^1.10.0",
"@codemirror/autocomplete": "^6.20.0",
"@codemirror/commands": "^6.10.1",
"@codemirror/lang-json": "^6.0.2",
"@codemirror/language": "^6.12.1",
"@codemirror/lint": "^6.9.2",
"@codemirror/state": "^6.5.4",
"@codemirror/view": "^6.39.11",
"@connectrpc/connect": "^1.7.0",
"@connectrpc/connect-express": "^1.7.0",
"@connectrpc/connect-node": "^1.7.0",
"@connectrpc/connect-web": "^1.7.0",
"@electric-sql/pglite": "^0.3.15",
"@electric-sql/pglite-socket": "^0.0.20",
"@google/genai": "^1.33.0",
"@libpg-query/parser": "^17.6.9",
"@pierre/diffs": "^1.0.8",
"@tailwindcss/vite": "^4.1.18",
"@tanstack/react-query": "^5.90.14",
"@tanstack/react-virtual": "^3.13.18",
"beautiful-mermaid": "^0.1.3",
"class-variance-authority": "^0.7.1",
"clsx": "^2.1.1",
"codemirror": "^6.0.2",
"cookie-parser": "^1.4.7",
"express": "^5.2.1",
"jose": "^5.2.0",
"lucide-react": "^0.562.0",
"openai": "^6.17.0",
"papaparse": "^5.5.3",
"pg": "^8.16.3",
"postgres": "^3.4.7",
"react": "^19.2.0",
"react-dom": "^19.2.0",
"react-markdown": "^10.1.0",
"react-router-dom": "^7.11.0",
"smol-toml": "^1.6.0",
"tailwind-merge": "^3.4.0",
"tailwindcss": "^4.1.18"
},
"devDependencies": {
"@bufbuild/buf": "^1.61.0",
"@bufbuild/protoc-gen-es": "^1.10.0",
"@connectrpc/protoc-gen-connect-es": "1.7.0",
"@eslint/js": "^9.39.1",
"@types/cookie-parser": "^1.4.8",
"@types/express": "^5.0.6",
"@types/node": "^24.10.1",
"@types/papaparse": "^5.5.2",
"@types/pg": "^8.16.0",
"@types/react": "^19.2.5",
"@types/react-dom": "^19.2.3",
"@vitejs/plugin-react": "^5.1.1",
"@vitest/ui": "^4.0.17",
"concurrently": "^9.2.1",
"esbuild": "^0.27.2",
"eslint": "^9.39.1",
"eslint-plugin-react-hooks": "^7.0.1",
"eslint-plugin-react-refresh": "^0.4.24",
"globals": "^16.5.0",
"ts-node": "^10.9.2",
"tsx": "^4.21.0",
"tw-animate-css": "^1.4.0",
"typescript": "~5.9.3",
"typescript-eslint": "^8.46.4",
"vite": "npm:rolldown-vite@7.2.5",
"vite-node": "^5.2.0",
"vitest": "^4.0.17"
},
"pnpm": {
"overrides": {
"vite": "npm:rolldown-vite@7.2.5"
}
}
}