UNPKG

@mojaloop/central-services-error-handling

Version:
83 lines (82 loc) 2.59 kB
{ "name": "@mojaloop/central-services-error-handling", "version": "13.1.0", "description": "Hapi error handling module", "main": "src/index.js", "pre-commit": [ "lint", "dep:check", "test" ], "scripts": { "test": "npm run test:unit", "standard": "npm run lint", "lint": "npx standard", "lint:fix": "npx standard --fix", "test:unit": "npx tape 'test/**/*.test.js' | tap-spec", "test:xunit": "npx tape 'test/**/*.test.js' | tap-xunit", "test:coverage": "npx nyc --reporter=lcov --reporter=text-summary tape -- 'test/**/*.test.js'", "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": "standard-version --no-verify --releaseCommitMessageFormat 'chore(release): {{currentTag}} [skip ci]'", "snapshot": "standard-version --no-verify --skip.changelog --prerelease snapshot --releaseCommitMessageFormat 'chore(snapshot): {{currentTag}}'" }, "repository": { "type": "git", "url": "git+https://github.com/mojaloop/central-services-error-handling.git" }, "keywords": [ "central", "services", "hapi", "error", "handling" ], "author": "ModusBox", "contributors": [ "Dwolla", "ModusBox" ], "license": "Apache-2.0", "bugs": { "url": "https://github.com/mojaloop/central-services-error-handling/issues" }, "homepage": "https://github.com/mojaloop/central-services-error-handling#readme", "dependencies": { "lodash": "4.17.21", "fast-safe-stringify": "2.1.1" }, "devDependencies": { "@hapi/boom": "10.0.1", "audit-ci": "^7.1.0", "npm-check-updates": "18.0.1", "nyc": "17.1.0", "pre-commit": "1.2.2", "proxyquire": "2.1.3", "replace": "^1.2.2", "sinon": "20.0.0", "standard": "17.1.2", "standard-version": "^9.5.0", "tap-spec": "^5.0.0", "tap-xunit": "2.4.1", "tape": "5.9.0" }, "overrides": { "@babel/helpers": "7.26.10", "cross-spawn": "7.0.6", "trim": "0.0.3" }, "publishConfig": { "registry": "https://registry.npmjs.org/" }, "standard-version": { "scripts": { "postchangelog": "replace '\\[mojaloop/#(\\d+)\\]\\(https://github.com/mojaloop/(.*)/issues/(\\d+)\\)' '[mojaloop/#$1](https://github.com/mojaloop/project/issues/$1)' CHANGELOG.md" } } }