@mojaloop/central-services-health
Version:
Shared code for generic health check servers
116 lines (115 loc) • 3.59 kB
JSON
{
"name": "@mojaloop/central-services-health",
"version": "15.0.4",
"description": "Shared code for generic health check servers",
"author": "lewisdaly",
"contributors": [
"Lewis Daly <lewis@vesselstech.com>",
"Miguel de Barros <miguel.debarros@modusbox.com>",
"Pawel Marzec <pawel.marzec@modusbox.com>"
],
"license": "Apache-2.0",
"homepage": "https://github.com/mojaloop/central-services-health#readme",
"bugs": {
"url": "https://github.com/mojaloop/central-services-health/issues"
},
"repository": {
"type": "git",
"url": "git+https://github.com/mojaloop/central-services-metrics.git"
},
"keywords": [
"metrics",
"central",
"services",
"mojaloop"
],
"main": "./dist/index.js",
"types": "./dist/index.d.ts",
"files": [
"/dist"
],
"pre-commit": [
"dep:check",
"build",
"lint",
"test:unit"
],
"scripts": {
"test": "npm run test:unit",
"pretest": "npm run build",
"prepublishOnly": "npm run build",
"lint": "eslint ./src/**/*.ts ./test/**/*.ts",
"lint:fix": "npm run lint -- --fix",
"build": "npx tsc",
"watch": "npx tsc -w",
"test:unit": "npx ts-node node_modules/tape/bin/tape 'test/unit/**/*.test.ts' | tap-spec",
"test:xunit": "npx ts-node node_modules/tape/bin/tape 'test/unit/**/*.test.ts' | tap-xunit > ./test/results/xunit.xml",
"test:coverage": "npx nyc --require ts-node/register tape test/unit/**/*.test.{ts,js} | tap-spec; nyc report ---reporter=text",
"test:coverage-check": "npm run test:coverage && nyc check-coverage",
"test:functional": "echo 'No functional tests defined'",
"test:integration": "echo 'No integration tests defined'",
"audit:fix": "npm audit fix",
"audit:check": "npx audit-ci --config ./audit-ci.jsonc",
"dep:check": "npx ncu -e 2",
"dep:update": "npx ncu -u",
"release": "npx standard-version --no-verify --releaseCommitMessageFormat 'chore(release): {{currentTag}} [skip ci]'",
"snapshot": "npx standard-version --no-verify --skip.changelog --prerelease snapshot --releaseCommitMessageFormat 'chore(snapshot): {{currentTag}}'"
},
"dependencies": {
"@hapi/hapi": "21.3.12",
"tslib": "2.8.1"
},
"devDependencies": {
"@types/node": "22.13.4",
"@types/sinon": "17.0.3",
"@types/tape": "5.8.1",
"@typescript-eslint/eslint-plugin": "8.24.1",
"@typescript-eslint/parser": "8.24.1",
"audit-ci": "7.1.0",
"debug": "4.4.0",
"eslint": "9.20.1",
"npm-check-updates": "17.1.14",
"nyc": "17.1.0",
"pre-commit": "1.2.2",
"prettier": "3.5.1",
"replace": "1.2.2",
"sinon": "19.0.2",
"tap-spec": "5.0.0",
"tap-xunit": "2.4.1",
"tape": "5.9.0",
"tapes": "4.1.0",
"ts-node": "10.9.2",
"typescript": "5.7.3",
"typedoc": "0.27.7"
},
"overrides": {
"cross-spawn": "7.0.6",
"trim": "0.0.3"
},
"peerDependencies": {
"@mojaloop/central-services-error-handling": ">=12.x.x",
"@mojaloop/central-services-logger": ">=11.x.x"
},
"peerDependenciesMeta": {
"@mojaloop/central-services-error-handling": {
"optional": false
},
"@mojaloop/central-services-logger": {
"optional": false
}
},
"nyc": {
"include": [
"src/**/*.ts",
"test/**/*.test.ts"
],
"extension": [
".ts"
]
},
"standard-version": {
"scripts": {
"postchangelog": "replace '\\[mojaloop/#(\\d+)\\]\\(https://github.com/mojaloop/(.*)/issues/(\\d+)\\)' '[mojaloop/#$1](https://github.com/mojaloop/project/issues/$1)' CHANGELOG.md"
}
}
}