@mojaloop/central-services-metrics
Version:
Shared code for metrics generation
112 lines (111 loc) • 3.45 kB
JSON
{
"name": "@mojaloop/central-services-metrics",
"version": "12.8.5",
"description": "Shared code for metrics generation",
"main": "./dist/index.js",
"types": "./dist/index.d.ts",
"files": [
"/config",
"/dist",
"/protos"
],
"scripts": {
"_phase:build": "npm run build",
"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": "nyc --reporter=lcov --reporter=text-summary --require ts-node/register tape test/unit/**/*.test.{ts,js}",
"test:coverage-check": "npm run test:coverage && nyc check-coverage",
"test:functional": "true",
"test:integration": "true",
"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}}'"
},
"pre-commit": [
"dep:check",
"build",
"lint",
"test:unit"
],
"repository": {
"type": "git",
"url": "git+https://github.com/mojaloop/central-services-metrics.git"
},
"keywords": [
"metrics",
"central",
"services"
],
"author": "ModusBox",
"contributors": [
"Shashikant Hirugade <shashikant.hirugade@modusbox.com>",
"Georgi Georgiev <georgi.georgiev@modusbox.com>",
"Valentin Genev <valentin.genev@modusbox.com>",
"Miguel de Barros <miguel.debarros@modusbox.com>"
],
"license": "Apache-2.0",
"bugs": {
"url": "https://github.com/mojaloop/central-services-metrics/issues"
},
"homepage": "https://github.com/mojaloop/central-services-metrics#readme",
"dependencies": {
"prom-client": "15.1.3"
},
"devDependencies": {
"@hapi/hapi": "^21.4.5",
"@types/node": "^25.3.0",
"@types/tape": "5.8.1",
"@typescript-eslint/eslint-plugin": "8.56.0",
"@typescript-eslint/parser": "8.56.0",
"audit-ci": "^7.1.0",
"debug": "4.4.3",
"eslint": "9.39.1",
"joi": "^18.0.2",
"npm-check-updates": "19.4.0",
"nyc": "17.1.0",
"pre-commit": "1.2.2",
"replace": "^1.2.2",
"standard": "17.1.2",
"standard-version": "^9.5.0",
"tap-spec": "^5.0.0",
"tap-xunit": "2.4.1",
"tape": "5.9.0",
"tapes": "4.1.0",
"ts-node": "10.9.2",
"tslib": "^2.8.1",
"tslint": "6.1.3",
"typescript": "5.9.3"
},
"overrides": {
"brace-expansion": "2.0.2",
"cross-spawn": "7.0.6",
"trim": "0.0.3",
"js-yaml": "4.1.1",
"lodash": "4.17.23",
"diff": "4.0.4"
},
"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"
}
}
}