{
  "name": "@mojaloop/central-services-metrics",
  "version": "12.6.0",
  "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": {
    "@typescript-eslint/eslint-plugin": "^8.32.1",
    "@typescript-eslint/parser": "^8.32.1",
    "prom-client": "15.1.3"
  },
  "devDependencies": {
    "@hapi/hapi": "^21.4.0",
    "@types/node": "^22.15.18",
    "@types/tape": "5.8.1",
    "@typescript-eslint/eslint-plugin": "8.32.1",
    "@typescript-eslint/parser": "8.32.1",
    "audit-ci": "^7.1.0",
    "debug": "4.4.1",
    "eslint": "9.26.0",
    "joi": "^17.13.3",
    "npm-check-updates": "18.0.1",
    "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.8.3"
  },
  "overrides": {
    "cross-spawn": "7.0.6",
    "trim": "0.0.3"
  },
  "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"
    }
  }
}
