-
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
96 lines (96 loc) · 2.78 KB
/
Copy pathpackage.json
File metadata and controls
96 lines (96 loc) · 2.78 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
{
"name": "@olegkoval/queryd",
"version": "0.1.0",
"description": "Database query latency detector for Node.js (driver-agnostic core, optional Prisma)",
"main": "./dist/index.js",
"exports": {
".": {
"types": "./dist/index.d.ts",
"import": "./dist/index.js"
},
"./prisma": {
"types": "./dist/prisma.d.ts",
"import": "./dist/prisma.js"
}
},
"files": [
"dist",
"README.md",
"LICENSE"
],
"engines": {
"node": ">=18.0.0"
},
"publishConfig": {
"access": "public"
},
"repository": {
"type": "git",
"url": "https://github.com/oleg-koval/slow-query-detector.git"
},
"bugs": {
"url": "https://github.com/oleg-koval/slow-query-detector/issues"
},
"homepage": "https://oleg-koval.github.io/slow-query-detector/",
"scripts": {
"test": "vitest run",
"build": "tsc -p tsconfig.build.json",
"benchmark": "tsx scripts/benchmark.ts",
"benchmark:docker": "docker compose run --rm benchmark",
"benchmark:e2e": "tsx scripts/benchmark-e2e.ts",
"benchmark:e2e:docker": "docker compose run --rm benchmark-e2e",
"benchmark:e2e:dataset": "tsx scripts/benchmark-e2e-dataset.ts",
"benchmark:e2e:dataset:docker": "docker compose run --rm benchmark-e2e-dataset",
"benchmark:e2e:dataset:10:docker": "BENCH_SERIES_RUNS=10 BENCH_DATASET_ROWS=200000 BENCH_ITERATIONS=3000 BENCH_WARMUP=300 docker compose run --rm benchmark-e2e-dataset",
"bench:compare:e2e:dataset": "tsx scripts/compare-e2e-dataset-baseline.ts",
"lint": "eslint .",
"format": "prettier --write \"**/*.{ts,js,json,md,yml,yaml}\"",
"format:check": "prettier --check \"**/*.{ts,js,json,md,yml,yaml}\"",
"assets:readme-gif": "bash scripts/generate-readme-demo-gif.sh",
"typecheck": "tsc --noEmit",
"test:coverage": "vitest run --coverage",
"prepare": "husky && npm run build",
"release:dry-run": "semantic-release --dry-run",
"semantic-release": "semantic-release"
},
"keywords": [
"queryd",
"database",
"prisma",
"slow-query",
"observability",
"performance",
"latency"
],
"author": "Oleg Koval",
"license": "MIT",
"peerDependencies": {
"@prisma/client": ">=5.0.0"
},
"peerDependenciesMeta": {
"@prisma/client": {
"optional": true
}
},
"devDependencies": {
"@eslint/js": "^10.0.1",
"@prisma/client": "^6.19.0",
"@types/node": "^25.6.0",
"@vitest/coverage-v8": "^4.1.4",
"eslint": "^10.2.0",
"husky": "^9.1.7",
"postgres": "^3.4.9",
"prettier": "^3.8.3",
"semantic-release": "^25.0.3",
"tsx": "^4.21.0",
"typescript": "^6.0.2",
"typescript-eslint": "^8.58.2",
"vitest": "^4.1.4"
},
"type": "module",
"module": "./dist/index.js",
"types": "./dist/index.d.ts",
"dependencies": {
"globals": "^17.5.0"
}
}