UNPKG

nestjs-otel

Version:
102 lines (101 loc) 2.91 kB
{ "name": "nestjs-otel", "version": "6.2.0", "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": "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.35.5", "response-time": "^2.3.3" }, "devDependencies": { "@commitlint/cli": "^19.7.1", "@commitlint/config-conventional": "^19.7.1", "@nestjs/common": "^11.0.11", "@nestjs/common10": "npm:@nestjs/common@10", "@nestjs/core": "^11.0.11", "@nestjs/core10": "npm:@nestjs/core@10", "@nestjs/platform-express": "^11.0.11", "@nestjs/platform-express10": "npm:@nestjs/platform-express@10", "@nestjs/platform-fastify": "^11.0.11", "@nestjs/platform-fastify10": "npm:@nestjs/platform-fastify@10", "@nestjs/testing": "^11.0.11", "@nestjs/testing10": "npm:@nestjs/testing@10", "@opentelemetry/exporter-prometheus": "^0.57.2", "@opentelemetry/sdk-metrics": "^1.30.1", "@opentelemetry/sdk-trace-node": "^1.30.1", "@types/jest": "^29.5.14", "@types/node": "^22.13.8", "@types/response-time": "^2.3.8", "@types/supertest": "^6.0.2", "husky": "^9.1.7", "jest": "^29.7.0", "lint-staged": "^15.4.3", "prettier": "^3.5.2", "reflect-metadata": "^0.2.2", "rimraf": "^6.0.1", "rxjs": "^7.8.2", "supertest": "^7.0.0", "ts-jest": "^29.2.6", "typescript": "5.8.2" }, "peerDependencies": { "@nestjs/common": ">= 10 < 12", "@nestjs/core": ">= 10 < 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,ts,json}": [ "prettier --write" ] } }