-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
86 lines (86 loc) · 3.04 KB
/
Copy pathpackage.json
File metadata and controls
86 lines (86 loc) · 3.04 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
{
"name": "@deniscuciuc/pg-analyzer",
"version": "1.0.0",
"description": "CLI tool that analyzes PostgreSQL databases for performance issues — indexes, slow queries, table bloat, connections and cache health.",
"keywords": [
"postgresql",
"postgres",
"database",
"analyzer",
"performance",
"cli",
"indexes",
"slow-queries",
"dba",
"devops"
],
"repository": {
"type": "git",
"url": "git+https://github.com/deniscuciuc/db-analyzer-postgres.git"
},
"bugs": {
"url": "https://github.com/deniscuciuc/db-analyzer-postgres/issues"
},
"license": "MIT",
"author": "Denis Cuciuc <denis@deniscuciuc.dev>",
"homepage": "https://github.com/deniscuciuc/db-analyzer-postgres#readme",
"private": false,
"publishConfig": {
"access": "public"
},
"bin": {
"pg-analyzer": "./dist/index.js"
},
"main": "./dist/index.js",
"types": "./dist/index.d.ts",
"files": [
"dist/",
"README.md",
"LICENSE",
"CHANGELOG.md",
"analyzerrc.example.json"
],
"scripts": {
"start": ". ./.env && npx ts-node index.ts start",
"analyze": ". ./.env && npx ts-node index.ts",
"analyze:help": "npx ts-node index.ts --help",
"analyze:health": ". ./.env && npx ts-node index.ts -j -c health",
"analyze:indexes": ". ./.env && npx ts-node index.ts -j -c unused-indexes",
"analyze:queries": ". ./.env && npx ts-node index.ts -j -c slow-queries",
"analyze:tables": ". ./.env && npx ts-node index.ts -j -c tables",
"analyze:fk": ". ./.env && npx ts-node index.ts -j -c fk-without-indexes",
"analyze:connections": ". ./.env && npx ts-node index.ts -j -c connections",
"analyze:config": ". ./.env && npx ts-node index.ts -j -c config",
"analyze:html": ". ./.env && npx ts-node index.ts --html -c full",
"analyze:watch": ". ./.env && npx ts-node index.ts -c health --watch 30",
"server:info": ". ./.env && npx ts-node index.ts -j -c server-info",
"indexes:drop-sql": ". ./.env && npx ts-node index.ts -j -c generate-drop-sql",
"vacuum": ". ./.env && npx ts-node index.ts -c run-vacuum",
"vacuum:check": ". ./.env && npx ts-node index.ts -j -c vacuum-needed",
"pg-stat-statements:create": ". ./.env && npx ts-node index.ts -j -c create-pg-stat-statements",
"pg-stat-statements:drop": ". ./.env && npx ts-node index.ts -j -c drop-pg-stat-statements",
"build": "tsc",
"postbuild": "node scripts/add-shebang.js",
"lint": "biome check .",
"lint:fix": "biome check --write .",
"prepublishOnly": "pnpm lint && pnpm build",
"release:patch": "npm version patch && git push && git push --tags",
"release:minor": "npm version minor && git push && git push --tags",
"release:major": "npm version major && git push && git push --tags"
},
"dependencies": {
"@inquirer/prompts": "^8.1.0",
"pg": "^8.14.0"
},
"devDependencies": {
"@biomejs/biome": "2.3.11",
"@types/node": "^22.15.0",
"@types/pg": "^8.16.0",
"ts-node": "^10.9.2",
"typescript": "^5.9.3"
},
"engines": {
"node": ">=20",
"pnpm": ">=10"
}
}