-
-
Notifications
You must be signed in to change notification settings - Fork 50
/
package.json
96 lines (96 loc) · 2.57 KB
/
package.json
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": "nestjs-otel",
"version": "6.1.1",
"description": "NestJS OpenTelemetry Library",
"main": "lib/index.js",
"typings": "lib/index",
"scripts": {
"prebuild": "rimraf lib",
"build": "tsc",
"lint": "prettier --check ./**/*.{js,json,ts}",
"format": "prettier --write ./**/*.{js,json,ts}",
"test": "npm run test:unit && npm run test:e2e",
"test:coverage": "jest --coverage",
"test:unit": "jest --passWithNoTests",
"test:watch": "jest --watch",
"test:e2e": "jest --config ./tests/jest-e2e.json --runInBand --forceExit",
"test:e2e:watch": "jest --config ./tests/jest-e2e.json --runInBand --watch",
"prepare": "husky"
},
"repository": {
"type": "git",
"url": "git+https://github.com/pragmaticivan/nestjs-otel.git"
},
"keywords": [
"nestjs",
"opentelemetry",
"otel",
"tracing",
"observability",
"prometheus"
],
"author": "[email protected]",
"license": "Apache-2.0",
"bugs": {
"url": "https://github.com/pragmaticivan/nestjs-otel/issues"
},
"homepage": "https://github.com/pragmaticivan/nestjs-otel#readme",
"dependencies": {
"@opentelemetry/api": "^1.9.0",
"@opentelemetry/host-metrics": "^0.35.4",
"response-time": "^2.3.3"
},
"devDependencies": {
"@commitlint/cli": "^19.5.0",
"@commitlint/config-conventional": "^19.5.0",
"@nestjs/common": "^10.4.8",
"@nestjs/core": "^10.4.8",
"@nestjs/platform-express": "^10.4.8",
"@nestjs/platform-fastify": "^10.4.8",
"@nestjs/testing": "^10.4.8",
"@opentelemetry/exporter-prometheus": "^0.54.2",
"@opentelemetry/sdk-metrics": "^1.27.0",
"@opentelemetry/sdk-trace-node": "^1.27.0",
"@types/jest": "^29.5.14",
"@types/node": "^22.9.0",
"@types/response-time": "^2.3.8",
"@types/supertest": "^6.0.2",
"husky": "^9.1.6",
"jest": "^29.7.0",
"lint-staged": "^15.2.10",
"prettier": "^3.3.3",
"reflect-metadata": "^0.2.2",
"rimraf": "^6.0.1",
"rxjs": "^7.8.1",
"supertest": "^7.0.0",
"ts-jest": "^29.2.5",
"typescript": "5.6.3"
},
"peerDependencies": {
"@nestjs/common": "^9.0.0 || ^10.0.0",
"@nestjs/core": "^9.0.0 || ^10.0.0"
},
"jest": {
"moduleFileExtensions": [
"js",
"json",
"ts",
"node"
],
"rootDir": "./src",
"reporters": [
"default"
],
"testRegex": ".spec.ts$",
"transform": {
"^.+\\.(t|j)s$": "ts-jest"
},
"coverageDirectory": "./test-results/coverage",
"testEnvironment": "node"
},
"lint-staged": {
"**/*.{js,ts,json}": [
"prettier --write"
]
}
}