-
Notifications
You must be signed in to change notification settings - Fork 13
Expand file tree
/
Copy pathpackage.json
More file actions
57 lines (57 loc) · 1.6 KB
/
Copy pathpackage.json
File metadata and controls
57 lines (57 loc) · 1.6 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
{
"name": "pg-mcp-server",
"version": "0.3.0",
"description": "A Model Context Protocol server for PostgreSQL databases",
"module": "index.ts",
"type": "module",
"private": false,
"bin": {
"pg-mcp-server": "lib/index.js"
},
"files": [
"bin/",
"lib/",
"index.ts",
"src/",
"README.md",
"LICENSE"
],
"publishConfig": {
"access": "public"
},
"repository": {
"type": "git",
"url": "https://github.com/ericzakariasson/pg-mcp-server.git"
},
"license": "MIT",
"scripts": {
"dev": "tsc -w -p tsconfig.build.json",
"inspector:stdio": "DATABASE_URL=postgresql://postgres:postgres@localhost:5432/postgres npx @modelcontextprotocol/inspector bun run index.ts --transport=stdio",
"inspector:http": "DATABASE_URL=postgresql://postgres:postgres@localhost:5432/postgres npx @modelcontextprotocol/inspector bun run index.ts --transport=http",
"build:js": "tsc -p tsconfig.build.json",
"prepublishOnly": "bun run typecheck && bun test && bun run build:js",
"db:start": "docker-compose up -d",
"db:stop": "docker-compose down",
"db:reset": "docker-compose down -v && docker-compose up -d",
"typecheck": "tsc --noEmit",
"lint": "tsc --noEmit",
"test": "bun test",
"format": "prettier --write \"**/*.{ts,js,json,md}\""
},
"devDependencies": {
"@types/bun": "latest",
"@types/node": "^20.0.0",
"prettier": "^3.0.0"
},
"peerDependencies": {
"typescript": "^5"
},
"dependencies": {
"@modelcontextprotocol/sdk": "^1.17.3",
"postgres": "^3.4.7",
"zod": "^3.23.8"
},
"engines": {
"bun": ">=1.0.0"
}
}