UNPKG

@plokkke/nest-health-registry

Version:

A NestJS module providing a health check registry using @nestjs/terminus

72 lines (71 loc) 2.6 kB
{ "private": false, "name": "@plokkke/nest-health-registry", "version": "1.0.3", "description": "A NestJS module providing a health check registry using @nestjs/terminus", "author": "Antoine Caron <antoine@crn-tech.fr>", "license": "MIT", "files": [ "dist", "README.md" ], "main": "dist/index.js", "types": "dist/index.d.ts", "keywords": [ "nestjs", "health", "terminus", "monitoring" ], "repository": { "type": "git", "url": "https://github.com/plokkke/nest-health-registry" }, "scripts": { "build": "rimraf dist && tsc && tsc-alias", "lint": "eslint \"{src,apps,libs,test}/**/*.ts\"", "lint:fix": "npm run lint -- --fix", "prepare": "npm run build", "test": "npm run test:unit && npm run test:e2e", "test:cov": "npm run test:unit:cov && npm run test:e2e:cov && npm run merge-cov && npm run test:mut", "test:unit": "jest --passWithNoTests --config ./test/jest-unit.js", "test:unit:cov": "npm run test:unit -- --coverage", "test:e2e": "jest --passWithNoTests --runInBand --forceExit --config ./test/jest-e2e.js", "test:e2e:cov": "npm run test:e2e -- --coverage", "test:mut": "stryker run", "merge-cov": "npx istanbul-merge --out ./reports/tests/unified/coverage/coverage-final.json ./reports/tests/e2e/coverage/coverage-final.json ./reports/tests/unit/coverage/coverage-final.json; npx istanbul report --include ./reports/tests/unified/coverage/coverage-final.json --dir reports/tests/unified/coverage/lcov-report html", "validate": "npm run lint && npm run build && npm run test:cov", "prepublishOnly": "npm run validate" }, "peerDependencies": { "@nestjs/common": "^11.0.12", "@nestjs/terminus": "^11.0.0" }, "dependencies": { "@nestjs/common": "^11.0.12", "@nestjs/terminus": "^11.0.0" }, "devDependencies": { "@nestjs/platform-express": "^11.0.12", "@nestjs/testing": "^11.0.12", "@stryker-mutator/core": "^8.7.1", "@stryker-mutator/jest-runner": "^8.7.1", "@stryker-mutator/typescript-checker": "^8.7.1", "@types/jest": "^29.5.14", "@types/node": "^22.13.14", "@types/supertest": "^6.0.3", "@typescript-eslint/eslint-plugin": "^8.28.0", "@typescript-eslint/parser": "^8.28.0", "eslint": "^9.23.0", "eslint-config-prettier": "^10.1.1", "eslint-plugin-import": "^2.31.0", "eslint-plugin-prettier": "^5.2.5", "jest": "^29.7.0", "prettier": "^3.5.3", "rimraf": "^5.0.0", "supertest": "^7.1.0", "ts-jest": "^29.3.0", "tsc-alias": "^1.8.11", "typescript": "^5.8.2" } }