@mojaloop/inter-scheme-proxy-cache-lib
Version:
Common component, that provides scheme proxy caching mapping (ISPC)
117 lines (116 loc) • 4.17 kB
JSON
{
"name": "@mojaloop/inter-scheme-proxy-cache-lib",
"version": "2.6.0",
"description": "Common component, that provides scheme proxy caching mapping (ISPC)",
"author": "Eugen Klymniuk (geka-evk)",
"contributors": [
"Eugen Klymniuk <eugen.klymniuk@infitx.com>",
"Steven Oderayi <steven.oderayi@infitx.com>"
],
"license": "Apache-2.0",
"main": "dist/index.js",
"module": "dist/index.mjs",
"types": "dist/index.d.ts",
"files": [
"dist"
],
"config": {
"env_file": "--env-file .env"
},
"scripts": {
"test": "npm run test:unit",
"test:unit": "jest --testMatch='**/unit/**/*.test.ts'",
"test:xunit": "JEST_JUNIT_OUTPUT_DIR=./test/reports/ JEST_JUNIT_OUTPUT_NAME=xunit.xml npm run test:unit -- --reporters=jest-junit",
"test:coverage": "npm run test:unit -- --coverage --coverageThreshold='{}'",
"test:coverage-check": "npm run test:unit -- --coverage",
"test:int": "jest --testMatch='**/test/integration/**/*.test.ts'",
"test:functional": "echo \"ACTION: Add functional test here, or remove this script. Also check CI configs to comment out the necessary job'\"",
"test:integration": "npm run dc:build && npm run dc:up && npm run wait-4-docker && npm run test:int && npm run dc:down",
"lint": "eslint ./src/**/*.ts ./test/**/*.ts",
"lint:fix": "npm run lint -- --fix",
"build": "tsup",
"docs": "typedoc",
"dc:build": ". ./env.sh && docker compose build",
"dc:up": ". ./env.sh && docker compose $npm_package_config_env_file up -d && docker ps",
"dc:down": ". ./env.sh && docker compose $npm_package_config_env_file down -v",
"audit:fix": "npm audit fix",
"audit:check": "npx audit-ci --config ./audit-ci.jsonc",
"dep:check": "npx --no-install ncu -e 2",
"dep:update": "npx --no-install ncu -u",
"release": "npx standard-version --no-verify --releaseCommitMessageFormat 'ci(release): {{currentTag}} [skip ci]'",
"snapshot": "npx standard-version --no-verify --skip.changelog --prerelease snapshot --releaseCommitMessageFormat 'ci(snapshot): {{currentTag}}'",
"prepare": "husky || true",
"prepublishOnly": "npm run build",
"wait-4-docker": "./docker/wait-for-containers.sh"
},
"dependencies": {
"@mojaloop/central-services-logger": "11.9.0",
"ajv": "8.17.1",
"convict": "6.2.4",
"fast-safe-stringify": "2.1.1",
"ioredis": "5.6.1"
},
"devDependencies": {
"@commitlint/cli": "19.8.1",
"@commitlint/config-conventional": "19.8.1",
"@types/convict": "6.1.6",
"@types/jest": "29.5.14",
"@types/node": "22.15.21",
"@typescript-eslint/eslint-plugin": "8.32.1",
"@typescript-eslint/parser": "8.32.1",
"dotenv": "16.5.0",
"eslint": "9.27.0",
"eslint-config-prettier": "10.1.5",
"eslint-plugin-import": "2.31.0",
"husky": "9.1.7",
"ioredis-mock": "8.9.0",
"jest": "29.7.0",
"jest-junit": "16.0.0",
"lint-staged": "16.0.0",
"npm-audit-resolver": "3.0.0-RC.0",
"npm-check-updates": "18.0.1",
"prettier": "3.5.3",
"replace": "1.2.2",
"standard-version": "9.5.0",
"ts-jest": "^29.3.4",
"ts-node": "10.9.2",
"tsup": "8.5.0",
"typedoc": "0.28.5",
"typedoc-theme-hierarchy": "6.0.0",
"typescript": "5.8.3"
},
"overrides": {
"cross-spawn": "7.0.5",
"esbuild": "0.25.0",
"glob": "9.3.5"
},
"engines": {
"node": ">=22.15.0"
},
"standard-version": {
"scripts": {
"postchangelog": "replace '\\[mojaloop/#(\\d+)\\]\\(https://github.com/mojaloop/(.*)/issues/(\\d+)\\)' '[mojaloop/#$1](https://github.com/mojaloop/project/issues/$1)' CHANGELOG.md"
}
},
"lint-staged": {
"./src/*.ts": [
"eslint --fix",
"prettier --write --ignore-unknown"
]
},
"homepage": "https://github.com/mojaloop/inter-scheme-proxy-cache-lib#readme",
"bugs": {
"url": "https://github.com/mojaloop/inter-scheme-proxy-cache-lib/issues"
},
"repository": {
"type": "git",
"url": "git+https://github.com/mojaloop/inter-scheme-proxy-cache-lib.git"
},
"keywords": [
"mojaloop",
"proxy",
"proxyCache",
"proxy-cache",
"inter-scheme-proxy-cache-lib"
]
}