UNPKG

@mojaloop/event-sdk

Version:
137 lines (136 loc) 4.39 kB
{ "name": "@mojaloop/event-sdk", "version": "14.6.1", "description": "Shared code for Event Logging", "author": "ModusBox", "contributors": [ "Georgi Georgiev <georgi.georgiev@modusbox.com>", "Miguel de Barros <miguel.debarros@modusbox.com>", "Ramiro González Maciel <ramiro@modusbox.com>", "Sam Kummary <sam@mojaloop.io>", "Valentin Genev <valentin.genev@modusbox.com>", "Lewis Daly <lewisd@crosslaketech.com" ], "license": "Apache-2.0", "homepage": "https://github.com/mojaloop/event-sdk#readme", "bugs": { "url": "https://github.com/mojaloop/event-sdk/issues" }, "repository": { "type": "git", "url": "git+https://github.com/mojaloop/event-sdk.git" }, "keywords": [ "event", "mojaloop" ], "main": "./dist/index.js", "types": "./dist/index.d.ts", "files": [ "/config", "/dist", "/protos" ], "pre-commit": [ "warn-pre-commit", "dep:check", "lint", "test" ], "scripts": { "_phase:build": "npm run build", "ts_app": "npx tsc ; npx ts-node src/examples/ts_app.ts", "js_app": "npx tsc ; npx ts-node src/examples/js_app.js", "server": "npx tsc ; npx ts-node src/server/server.ts", "test": "npm run test:unit", "pretest": "npm run build", "prepublishOnly": "npm run build", "lint": "eslint ./src/**/*.ts ./test/**/*.ts", "lint:fix": "npm run lint -- --fix", "build": "npx tsc", "watch": "npx tsc -w", "test:unit": "npx jest --reporters=default", "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:functional": "echo 'No functional tests defined'", "test:integration": "echo 'No integration tests defined'", "warn-pre-commit": "echo \"pre commit tasks running. build and test\"", "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": { "@grpc/grpc-js": "1.13.4", "@grpc/proto-loader": "0.7.15", "brototype": "0.0.6", "error-callsites": "2.0.4", "lodash": "4.17.21", "moment": "2.30.1", "parse-strings-in-object": "2.0.0", "protobufjs": "7.5.3", "rc": "1.2.8", "safe-stable-stringify": "2.5.0", "serialize-error": "8.1.0", "traceparent": "1.0.0", "tslib": "2.8.1", "winston": "3.17.0" }, "devDependencies": { "@mojaloop/central-services-logger": "11.9.0", "@mojaloop/central-services-stream": "11.7.0", "@types/jest": "29.5.14", "@types/lodash": "4.17.17", "@types/node": "24.0.1", "@types/sinon": "17.0.4", "@types/tape": "5.8.1", "@types/uuid": "10.0.0", "@typescript-eslint/eslint-plugin": "8.34.0", "@typescript-eslint/parser": "8.34.0", "audit-ci": "7.1.0", "debug": "4.4.1", "eslint": "9.28.0", "eslint-config-prettier": "10.1.5", "jest": "30.0.0", "jest-junit": "16.0.0", "npm-check-updates": "18.0.1", "nyc": "17.1.0", "pre-commit": "1.2.2", "prettier": "3.5.3", "proxyquire": "2.1.3", "replace": "1.2.2", "sinon": "20.0.0", "tap-spec": "5.0.0", "ts-jest": "29.4.0", "ts-node": "10.9.2", "typedoc": "0.28.5", "typescript": "5.8.3" }, "overrides": { "cross-spawn": "7.0.6", "trim": "0.0.3", "ts-jest": { "jest": "30.0.0" } }, "peerDependencies": { "@mojaloop/central-services-logger": ">=11.x.x", "@mojaloop/central-services-stream": ">=11.x.x" }, "peerDependenciesMeta": { "@mojaloop/central-services-logger": { "optional": false }, "@mojaloop/central-services-stream": { "optional": true } }, "standard-version": { "scripts": { "postchangelog": "replace '\\[mojaloop/#(\\d+)\\]\\(https://github.com/mojaloop/(.*)/issues/(\\d+)\\)' '[mojaloop/#$1](https://github.com/mojaloop/project/issues/$1)' CHANGELOG.md" } } }