UNPKG

nestjs-metrics-reporter

Version:

A global static Prometheus metrics reporter for NestJS applications

89 lines (88 loc) 2.32 kB
{ "name": "nestjs-metrics-reporter", "version": "1.9.1", "description": "A global static Prometheus metrics reporter for NestJS applications", "main": "dist/index.js", "types": "dist/index.d.ts", "files": [ "dist" ], "engines": { "node": ">=16.0.0" }, "scripts": { "prebuild": "rimraf dist", "build": "tsc", "test": "jest", "test:watch": "jest --watch", "test:debug": "jest debug --runInBand --detectOpenHandles", "lint": "eslint 'src/**/*.ts'", "lint:fix": "eslint . --ext .ts --fix", "clean": "rimraf dist", "prepare": "npm run build", "prepublishOnly": "npm run build", "semantic-release": "semantic-release" }, "keywords": [ "nestjs", "prometheus", "metrics", "monitoring", "global", "reporter", "prometheus-client", "prom-client" ], "author": { "name": "Netanel Avraham", "url": "https://github.com/netanelavr" }, "license": "Apache-2.0", "repository": { "type": "git", "url": "git+https://github.com/netanelavr/nestjs-metrics-reporter.git" }, "bugs": { "url": "https://github.com/netanelavr/nestjs-metrics-reporter/issues" }, "homepage": "https://github.com/netanelavr/nestjs-metrics-reporter#readme", "dependencies": { "prom-client": "^14.0.0" }, "peerDependencies": { "@nestjs/common": "^7.0.0 || ^8.0.0 || ^9.0.0 || ^10.0.0 || ^11.0.0", "@nestjs/core": "^7.0.0 || ^8.0.0 || ^9.0.0 || ^10.0.0 || ^11.0.0", "@nestjs/swagger": "^7.4.0 <8.0.0 || ^11.0.0" }, "devDependencies": { "@nestjs/common": "^10.0.0", "@nestjs/core": "^10.0.0", "@nestjs/swagger": "^7.4.0", "@nestjs/testing": "^10.0.0", "@types/jest": "^29.5.0", "@types/node": "^20.0.0", "@typescript-eslint/eslint-plugin": "^6.0.0", "@typescript-eslint/parser": "^6.0.0", "eslint": "^8.0.0", "jest": "^29.5.0", "rimraf": "^5.0.0", "semantic-release": "^24.0.0", "ts-jest": "^29.1.0", "ts-node": "^10.9.2", "typescript": "5.3" }, "publishConfig": { "access": "public" }, "release": { "branches": [ "main" ], "plugins": [ "@semantic-release/commit-analyzer", "@semantic-release/release-notes-generator", "@semantic-release/npm", "@semantic-release/github" ] } }