-
Notifications
You must be signed in to change notification settings - Fork 9
Expand file tree
/
Copy pathpackage.json
More file actions
59 lines (59 loc) · 2.14 KB
/
package.json
File metadata and controls
59 lines (59 loc) · 2.14 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
{
"name": "postgresai",
"version": "0.0.0-dev.0",
"description": "postgres_ai CLI",
"license": "Apache-2.0",
"private": false,
"repository": {
"type": "git",
"url": "git+https://gitlab.com/postgres-ai/postgres_ai.git"
},
"homepage": "https://gitlab.com/postgres-ai/postgres_ai",
"bugs": {
"url": "https://gitlab.com/postgres-ai/postgres_ai/-/issues"
},
"bin": {
"postgresai": "./dist/bin/postgres-ai.js",
"pgai": "./dist/bin/postgres-ai.js"
},
"exports": {
".": "./dist/bin/postgres-ai.js",
"./cli": "./dist/bin/postgres-ai.js"
},
"type": "module",
"engines": {
"node": ">=18"
},
"scripts": {
"embed-metrics": "bun run scripts/embed-metrics.ts",
"embed-checkup-dictionary": "bun run scripts/embed-checkup-dictionary.ts",
"embed-all": "bun run embed-metrics && bun run embed-checkup-dictionary",
"build": "bun run embed-all && bun build ./bin/postgres-ai.ts --outdir ./dist/bin --target node && node -e \"const fs=require('fs');const f='./dist/bin/postgres-ai.js';fs.writeFileSync(f,fs.readFileSync(f,'utf8').replace('#!/usr/bin/env bun','#!/usr/bin/env node'))\" && cp -r ./sql ./dist/sql && cp ../instances.demo.yml ./instances.demo.yml",
"prepublishOnly": "npm run build",
"start": "bun ./bin/postgres-ai.ts --help",
"start:node": "node ./dist/bin/postgres-ai.js --help",
"dev": "bun run embed-all && bun --watch ./bin/postgres-ai.ts",
"test": "bun run embed-all && bun test",
"test:fast": "bun run embed-all && bun test --coverage=false",
"test:coverage": "bun run embed-all && bun test --coverage && echo 'Coverage report: cli/coverage/lcov-report/index.html'",
"typecheck": "bun run embed-all && bunx tsc --noEmit",
"release-notes": "bun run scripts/generate-release-notes.ts"
},
"dependencies": {
"@modelcontextprotocol/sdk": "^1.20.2",
"commander": "^14.0.3",
"js-yaml": "^4.1.0",
"pg": "^8.16.3"
},
"devDependencies": {
"@types/bun": "^1.3.6",
"@types/js-yaml": "^4.0.9",
"@types/pg": "^8.15.6",
"ajv": "^8.17.1",
"ajv-formats": "^3.0.1",
"typescript": "^5.9.3"
},
"publishConfig": {
"access": "public"
}
}