UNPKG

@mojaloop/ml-schema-transformer-lib

Version:
123 lines (122 loc) 3.93 kB
{ "name": "@mojaloop/ml-schema-transformer-lib", "version": "2.7.1", "description": "Shared component for ML schemas translation", "repository": { "type": "git", "url": "git+https://github.com/mojaloop/ml-schema-transformer-lib.git" }, "keywords": [ "mojaloop", "library", "ml-schema-transformer-lib" ], "author": "Steven Oderayi (oderayi)", "contributors": [ "Steven Oderayi <steven.oderayi@infitx.com>" ], "license": "Apache-2.0", "bugs": { "url": "https://github.com/mojaloop/ml-schema-transformer-lib/issues" }, "homepage": "https://github.com/mojaloop/ml-schema-transformer-lib#readme", "main": "dist/index.js", "module": "dist/index.mjs", "typings": "dist/index.d.ts", "files": [ "dist" ], "engines": { "node": ">=18.x" }, "scripts": { "_phase:build": "npm run build", "prepare": "husky || true", "prepublishOnly": "npm run build", "lint": "eslint ./src/**/*.ts ./test/**/*.ts", "lint:fix": "npm run lint -- --fix", "build": "tsup", "docs": "typedoc", "test": "npm run test:unit", "test:unit": "vitest run test/unit/", "test:xunit": "npm run test:unit -- --reporter=junit --outputFile=./test/results/xunit.xml", "test:coverage": "npm run test:unit -- --coverage", "test:coverage-check": "npm run test:unit -- --coverage", "warn-pre-commit": "echo \"pre commit tasks running. build and test\"", "audit:resolve": "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}}'" }, "dependencies": { "@apidevtools/swagger-parser": "10.1.1", "@mojaloop/api-snippets": "17.10.2", "@mojaloop/central-services-error-handling": "13.0.7", "@mojaloop/central-services-logger": "11.8.0", "@mojaloop/central-services-shared": "18.23.1", "ajv": "8.17.1", "fast-safe-stringify": "2.1.1", "ilp-packet": "2.2.0", "map-transform-cjs": "0.2.0", "node-cache": "5.1.2", "openapi-backend": "5.11.1", "swagger-parser": "10.0.3" }, "overrides": { "esbuild": "0.25.0", "markdown-it": "12.3.2", "undici": "6.21.1", "shins": { "ejs": "3.1.10", "markdown-it": "12.3.2", "postcss": "8.4.31", "sanitize-html": "2.12.1" }, "widdershins": { "jsonpointer": "5.0.0", "yargs-parser": "21.1.1", "markdown-it": "12.3.2", "swagger2openapi": "7.0.8" } }, "devDependencies": { "@commitlint/cli": "19.8.0", "@commitlint/config-conventional": "19.8.0", "@types/jest": "29.5.14", "@types/node": "22.13.14", "@typescript-eslint/eslint-plugin": "8.28.0", "@typescript-eslint/parser": "8.28.0", "@vitest/coverage-v8": "3.0.9", "audit-ci": "7.1.0", "eslint": "8.57.0", "eslint-config-prettier": "10.1.1", "eslint-plugin-import": "2.31.0", "husky": "9.1.7", "lint-staged": "15.5.0", "npm-check-updates": "17.1.16", "prettier": "3.5.3", "replace": "1.2.2", "standard-version": "9.5.0", "tsup": "8.4.0", "typedoc": "0.27.9", "typedoc-theme-hierarchy": "5.0.5", "typescript": "5.7.3", "vitest": "3.0.9" }, "optionalDependencies": { "@rollup/rollup-linux-x64-musl": "4.38.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" ] } }