@mojaloop/central-services-shared
Version:
Shared code for mojaloop central services
206 lines (205 loc) • 6.28 kB
JSON
{
"name": "@mojaloop/central-services-shared",
"version": "18.35.6",
"description": "Shared code for mojaloop central services",
"license": "Apache-2.0",
"author": "ModusBox",
"contributors": [
"ModusBox",
"Dwolla"
],
"homepage": "https://github.com/mojaloop/central-services-shared#readme",
"repository": {
"type": "git",
"url": "git+https://github.com/mojaloop/central-services-shared.git"
},
"bugs": {
"url": "https://github.com/mojaloop/central-services-shared/issues"
},
"keywords": [
"shared",
"central",
"services",
"mojaloop"
],
"main": "src/index.js",
"types": "src/index.d.ts",
"imports": {
"#src/*": "./src/*.js",
"#test/*": "./test/*.js"
},
"pre-commit": [
"lint",
"test",
"dep:check",
"audit:check"
],
"scripts": {
"pretest": "npm run lint",
"standard": "npx standard",
"standard:fix": "npm run standard -- --fix",
"lint": "npm run standard",
"lint:fix": "npm run standard:fix",
"test": "npm run test:unit",
"test:distLock": "npx tape 'test/unit/util/distLock/**/*.test.js'",
"test:header": "npx tape 'test/unit/util/headerValidation/**/*.test.js'",
"test:logging": "npx tape 'test/unit/util/hapi/plugins/loggingPlugin.test.js'",
"test:headerValidation": "npx tape 'test/unit/util/hapi/plugins/headerValidation.test.js'",
"test:endpoints": "npx tape 'test/unit/util/endpoints.test.js'",
"test:mysql": "npx tape 'test/unit/mysql/**/*.test.js'",
"test:participants": "npx tape 'test/unit/util/participants.test.js'",
"test:trans": "npx tape 'test/unit/util/headers/transformer.test.js'",
"test:unit": "npx tape 'test/unit/**/*.test.js' | tap-spec",
"test:xunit": "npx tape 'test/unit/**/**.test.js' | tap-xunit > ./test/results/xunit.xml",
"test:unit:header": "npx tape 'test/unit/util/headerValidation/**/*.test.js'",
"test:coverage:mysql": "npx nyc --reporter=lcov --reporter=text tapes -- 'test/unit/mysql/**.test.js'",
"test:coverage": "npx nyc --reporter=lcov --reporter=text-summary tapes -- 'test/unit/**/**.test.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}}'"
},
"dependencies": {
"@hapi/catbox": "12.1.1",
"@hapi/catbox-memory": "5.0.1",
"@hapi/hapi": "21.4.6",
"@hapi/joi-date": "2.0.1",
"@mojaloop/inter-scheme-proxy-cache-lib": "2.9.0",
"@opentelemetry/api": "1.9.0",
"async-exit-hook": "2.0.1",
"async-retry": "1.3.3",
"axios": "1.13.5",
"clone": "2.1.2",
"convict": "^6.2.4",
"dotenv": "17.3.1",
"env-var": "7.5.0",
"event-stream": "4.0.1",
"fast-safe-stringify": "2.1.1",
"immutable": "5.1.4",
"ioredis": "5.6.1",
"joi": "18.0.2",
"lodash": "4.17.23",
"mustache": "4.2.0",
"openapi-backend": "5.16.1",
"raw-body": "3.0.2",
"rc": "1.2.8",
"redlock": "5.0.0-beta.2",
"shins": "2.6.0",
"ulidx": "2.4.1",
"uuid4": "2.0.3",
"widdershins": "4.0.1",
"yaml": "2.8.2"
},
"devDependencies": {
"@mojaloop/central-services-error-handling": "13.1.6",
"@mojaloop/central-services-logger": "11.10.4",
"@mojaloop/central-services-metrics": "12.8.5",
"@mojaloop/event-sdk": "14.8.3",
"@opentelemetry/auto-instrumentations-node": "^0.70.1",
"@types/hapi__joi": "17.1.15",
"ajv": "8.18.0",
"ajv-formats": "^3.0.1",
"ajv-keywords": "^5.1.0",
"audit-ci": "7.1.0",
"base64url": "3.0.1",
"chance": "1.1.13",
"npm-check-updates": "19.5.0",
"nyc": "18.0.0",
"portfinder": "1.0.38",
"pre-commit": "1.2.2",
"proxyquire": "2.1.3",
"replace": "1.2.2",
"rewire": "9.0.1",
"sinon": "21.0.1",
"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"
},
"overrides": {
"axios": "1.13.5",
"qs": "6.14.2",
"brace-expansion": "2.0.2",
"form-data": "4.0.5",
"nanoid": "5.1.5",
"postcss": {
"nanoid": "5.1.5"
},
"shins": {
"ejs": "3.1.10",
"sanitize-html": "2.12.1",
"jsonpointer": "5.0.0",
"markdown-it": "12.3.2",
"postcss": "8.4.31"
},
"widdershins": {
"markdown-it": "12.3.2",
"swagger2openapi": "7.0.8"
},
"markdown-it": "12.3.2",
"fast-xml-parser": "5.3.6",
"trim": "0.0.3",
"cross-spawn": "7.0.6",
"yargs-parser": "21.1.1",
"jws": "3.2.3",
"validator": "13.15.22",
"lodash": "4.17.23",
"lodash-es": "4.17.23",
"undici": "7.18.2"
},
"peerDependencies": {
"@mojaloop/central-services-error-handling": "13.x.x",
"@mojaloop/central-services-logger": "11.x.x",
"@mojaloop/central-services-metrics": "12.x.x",
"@mojaloop/event-sdk": "14.x.x",
"ajv": "8.x.x",
"ajv-formats": "3.x.x",
"ajv-keywords": "5.x.x",
"knex": "3.x",
"mysql2": "3.x"
},
"peerDependenciesMeta": {
"@mojaloop/central-services-error-handling": {
"optional": false
},
"@mojaloop/central-services-logger": {
"optional": false
},
"@mojaloop/central-services-metrics": {
"optional": false
},
"@mojaloop/event-sdk": {
"optional": false
},
"ajv": {
"optional": false
},
"ajv-keyboards": {
"optional": false
},
"knex": {
"optional": false
},
"mysql2": {
"optional": false
}
},
"standard": {
"ignore": []
},
"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"
}
}
}