UNPKG

@mojaloop/central-services-shared

Version:
198 lines (197 loc) 5.98 kB
{ "name": "@mojaloop/central-services-shared", "version": "18.30.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", "dep:check", "audit:check", "test" ], "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:endpoints": "npx tape 'test/unit/util/endpoints.test.js'", "test:mysql": "npx tape 'test/unit/mysql/**/*.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.0", "@hapi/joi-date": "2.0.1", "@mojaloop/inter-scheme-proxy-cache-lib": "2.6.0", "@opentelemetry/api": "1.9.0", "async-exit-hook": "2.0.1", "async-retry": "1.3.3", "axios": "1.11.0", "clone": "2.1.2", "convict": "^6.2.4", "dotenv": "17.2.0", "env-var": "7.5.0", "event-stream": "4.0.1", "fast-safe-stringify": "2.1.1", "immutable": "5.1.3", "ioredis": "5.6.1", "joi": "17.13.3", "lodash": "4.17.21", "mustache": "4.2.0", "openapi-backend": "5.13.0", "raw-body": "3.0.0", "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.0" }, "devDependencies": { "@mojaloop/central-services-error-handling": "13.1.0", "@mojaloop/central-services-logger": "11.9.0", "@mojaloop/central-services-metrics": "12.6.0", "@mojaloop/event-sdk": "14.6.1", "@mojaloop/sdk-standard-components": "19.16.3", "@opentelemetry/auto-instrumentations-node": "^0.62.0", "@types/hapi__joi": "17.1.15", "ajv": "^8.17.1", "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": "18.0.2", "nyc": "17.1.0", "portfinder": "1.0.37", "pre-commit": "1.2.2", "proxyquire": "2.1.3", "replace": "1.2.2", "rewire": "9.0.0", "sinon": "21.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", "tapes": "4.1.0" }, "overrides": { "axios": "1.11.0", "brace-expansion": "2.0.2", "form-data": "4.0.4", "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", "trim": "0.0.3", "cross-spawn": "7.0.6", "yargs-parser": "21.1.1" }, "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" } } }