nestjs-otel
Version:
NestJS OpenTelemetry Library
107 lines (106 loc) • 2.99 kB
JSON
{
"name": "nestjs-otel",
"version": "3.0.4",
"description": "NestJS OpenTelemetry Library",
"main": "lib/index.js",
"typings": "lib/index",
"scripts": {
"prebuild": "rimraf lib",
"prepare": "husky install",
"build": "tsc",
"lint": "eslint . --ext .js,ts",
"format": "eslint . --ext .js,ts --fix",
"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.0.4",
"@opentelemetry/api-metrics": "^0.27.0",
"@opentelemetry/host-metrics": "^0.27.0",
"opentelemetry-node-metrics": "^1.1.0",
"response-time": "^2.3.2"
},
"devDependencies": {
"@commitlint/cli": "^16.0.1",
"@commitlint/config-conventional": "^16.0.0",
"@nestjs/common": "^8.2.3",
"@nestjs/core": "^8.2.3",
"@nestjs/platform-express": "^8.2.4",
"@nestjs/platform-fastify": "^8.2.4",
"@nestjs/testing": "^8.2.4",
"@opentelemetry/exporter-prometheus": "^0.27.0",
"@opentelemetry/sdk-node": "^0.27.0",
"@opentelemetry/sdk-trace-node": "^1.0.1",
"@types/jest": "^27.0.3",
"@types/node": "^17.0.5",
"@types/supertest": "^2.0.11",
"@typescript-eslint/eslint-plugin": "5.8.1",
"@typescript-eslint/parser": "5.8.1",
"ansi-regex": "",
"eslint": "^8.5.0",
"eslint-config-airbnb-base": "^15.0.0",
"eslint-config-airbnb-typescript": "^16.1.0",
"eslint-plugin-import": "^2.25.3",
"husky": "^7.0.4",
"jest": "^27.4.5",
"lint-staged": "^12.1.4",
"reflect-metadata": "^0.1.13",
"rimraf": "^3.0.2",
"rxjs": "^7.5.1",
"supertest": "^6.1.6",
"ts-jest": "^27.1.2",
"typescript": "4.5.4"
},
"peerDependencies": {
"@nestjs/common": "^7.0.0 || ^8.0.0",
"@nestjs/core": "^7.0.0 || ^8.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": {
"!(examples/**/*)*.{js,ts}": "eslint --cache --fix"
},
"commitlint": {
"extends": [
"@commitlint/config-conventional"
]
}
}