UNPKG

prometheus-api-metrics

Version:

API and process monitoring with Prometheus for Node.js micro-service

104 lines (103 loc) 2.99 kB
{ "name": "prometheus-api-metrics", "version": "4.0.0", "description": "API and process monitoring with Prometheus for Node.js micro-service", "author": "Idan Tovi", "scripts": { "unit-tests": "mocha ./test/unit-test/*-test.js", "no-koa-test": "mocha ./test/unit-test/*-test.js ./test/integration-tests/express/*-test.js --require ts-node/register test/integration-tests/nest-js/*.spec.ts", "types-check": "tsc -p .", "test": "mocha ./test/unit-test/*-test.js ./test/**/**/*-test.js --require ts-node/register test/integration-tests/nest-js/*.spec.ts", "integration-tests": "nyc mocha ./test/**/**/*-test.js --require ts-node/register test/integration-tests/nest-js/*.spec.ts", "coveralls": "cat ./coverage/lcov.info | ./node_modules/.bin/coveralls", "lint": "node_modules/eslint/bin/eslint.js src/**/*.js test/**/*.js" }, "main": "src/index.js", "nyc": { "report-dir": "./coverage", "lines": 95, "statements": 95, "functions": 100, "branches": 90, "include": [ "src/*.js" ], "exclude": [ "src/index.js" ], "reporter": [ "lcov", "text" ], "cache": true, "all": true }, "dependencies": { "debug": "^3.2.7", "lodash.get": "^4.4.2", "pkginfo": "^0.4.1" }, "peerDependencies": { "prom-client": ">=12 <=16" }, "devDependencies": { "@nestjs/common": "^7.6.18", "@nestjs/core": "^7.6.18", "@nestjs/platform-express": "^7.6.18", "@nestjs/testing": "^7.6.18", "@types/mocha": "^10.0.10", "axios": "^0.21.4", "axios-time": "^1.0.0", "body-parser": "^1.18.3", "chai": "^4.5.0", "chai-as-promised": "^7.1.2", "coveralls": "^3.1.1", "doctoc": "^1.4.0", "eslint": "^6.8.0", "eslint-config-standard": "^14.1.1", "eslint-plugin-chai-friendly": "^0.5.0", "eslint-plugin-import": "^2.31.0", "eslint-plugin-mocha": "^6.3.0", "eslint-plugin-node": "^11.1.0", "eslint-plugin-promise": "^4.3.1", "eslint-plugin-standard": "^4.1.0", "express": "^4.21.2", "koa": "^2.16.0", "koa-bodyparser": "^4.4.1", "koa-router": "^7.4.0", "lodash.clonedeep": "^4.5.0", "mocha": "^8.4.0", "nock": "^10.0.6", "node-mocks-http": "^1.16.2", "nyc": "^15.1.0", "prom-client": "^13.2.0", "reflect-metadata": "^0.1.14", "request": "^2.88.2", "request-promise-native": "^1.0.9", "rewire": "^4.0.1", "rxjs": "^6.6.7", "sinon": "^5.1.1", "supertest": "^3.4.2", "ts-node": "^7.0.1", "typescript": "^4.5.5" }, "repository": { "type": "git", "url": "git+https://github.com/PayU/prometheus-api-metrics.git" }, "keywords": [ "monitoring", "nodejs", "node", "prometheus", "api", "express", "koa", "metrics" ], "license": "Apache-2.0", "bugs": { "url": "https://github.com/PayU/prometheus-api-metrics/issues" }, "homepage": "https://github.com/PayU/prometheus-api-metrics#readme" }