-
-
Notifications
You must be signed in to change notification settings - Fork 48
/
package.json
102 lines (102 loc) · 2.69 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
97
98
99
100
101
102
{
"name": "nestjs-otel",
"version": "6.1.1",
"description": "NestJS OpenTelemetry Library",
"main": "lib/index.js",
"typings": "lib/index",
"scripts": {
"prebuild": "rimraf lib",
"prepare": "husky install",
"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"
},
"repository": {
"type": "git",
"url": "git+https://github.com/pragmaticivan/nestjs-otel.git"
},
"keywords": [
"nestjs",
"opentelemetry",
"otel",
"tracing",
"observability",
"prometheus"
],
"author": "pragmaticivan@gmail.com",
"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.8.0",
"@opentelemetry/host-metrics": "^0.35.1",
"response-time": "^2.3.2"
},
"devDependencies": {
"@commitlint/cli": "^19.3.0",
"@commitlint/config-conventional": "^19.2.2",
"@nestjs/common": "^10.3.8",
"@nestjs/core": "^10.3.8",
"@nestjs/platform-express": "^10.3.8",
"@nestjs/platform-fastify": "^10.3.8",
"@nestjs/testing": "^10.3.8",
"@opentelemetry/exporter-prometheus": "^0.51.1",
"@opentelemetry/sdk-metrics": "^1.24.1",
"@opentelemetry/sdk-trace-node": "^1.24.1",
"@types/jest": "^29.5.12",
"@types/node": "^22.5.1",
"@types/response-time": "^2.3.8",
"@types/supertest": "^6.0.2",
"ansi-regex": "",
"husky": "^9.0.11",
"jest": "^29.7.0",
"lint-staged": "^15.2.2",
"prettier": "^3.2.5",
"reflect-metadata": "^0.2.2",
"rimraf": "^6.0.1",
"rxjs": "^7.8.1",
"supertest": "^7.0.0",
"ts-jest": "^29.1.2",
"typescript": "5.5.4"
},
"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"
]
},
"commitlint": {
"extends": [
"@commitlint/config-conventional"
]
}
}