UNPKG

nestjs-otel

Version:
99 lines (98 loc) 2.62 kB
{ "name": "nestjs-otel", "version": "8.0.1", "description": "NestJS OpenTelemetry Library", "main": "lib/index.js", "typings": "lib/index", "engines": { "node": ">= 22" }, "scripts": { "prebuild": "rimraf lib", "build": "tsc", "lint": "ultracite check", "format": "ultracite fix", "test": "npm run test:unit && npm run test:e2e", "test:coverage": "jest --coverage", "test:unit": "jest", "test:watch": "jest --watch", "test:e2e": "jest --config ./tests/jest-e2e.json --runInBand --forceExit --detectOpenHandles", "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" ], "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.9.0", "@opentelemetry/host-metrics": "^0.37.0" }, "devDependencies": { "@biomejs/biome": "^2.3.8", "@commitlint/cli": "^20.2.0", "@commitlint/config-conventional": "^20.2.0", "@nestjs/common": "^11.1.9", "@nestjs/core": "^11.1.9", "@nestjs/platform-express": "^11.1.9", "@nestjs/platform-fastify": "^11.1.9", "@nestjs/testing": "^11.1.9", "@opentelemetry/exporter-prometheus": "^0.208.0", "@opentelemetry/sdk-metrics": "^2.2.0", "@opentelemetry/sdk-trace-node": "^2.2.0", "@types/express": "^5.0.6", "@types/jest": "^30.0.0", "@types/node": "^25.0.1", "@types/supertest": "^6.0.3", "husky": "^9.1.7", "jest": "^30.2.0", "lint-staged": "^16.2.7", "reflect-metadata": "^0.2.2", "rimraf": "^6.1.2", "rxjs": "^7.8.2", "supertest": "^7.1.4", "ts-jest": "^29.4.6", "typescript": "5.9.3", "ultracite": "^6.4.0" }, "peerDependencies": { "@nestjs/common": ">= 11 < 12", "@nestjs/core": ">= 11 < 12" }, "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,jsx,ts,tsx,json,jsonc,css,scss,md,mdx}": [ "npx ultracite fix" ] } }