UNPKG

smart-saga-pattern

Version:

A library implementing the Saga pattern for microservice architecture

57 lines (56 loc) 1.58 kB
{ "name": "smart-saga-pattern", "version": "0.1.0", "main": "dist/index.js", "types": "dist/index.d.ts", "files": [ "dist", "LICENSE", "README.md" ], "scripts": { "build": "tsc", "test": "jest", "prepare": "npm run build", "prepublishOnly": "npm test && npm run build", "version": "git add -A", "postversion": "git push && git push --tags", "example:orchestration": "ts-node examples/structured-context-example.ts", "example:choreography": "ts-node examples/structured-choreography-example.ts", "example:di-orchestration": "ts-node examples/di-orchestration-example.ts", "example:di-choreography": "ts-node examples/di-choreography-example.ts" }, "keywords": [ "saga", "microservices", "distributed-transactions", "orchestration", "choreography", "typescript", "dependency-injection", "event-driven" ], "author": "Hoang Duy Khanh", "license": "MIT", "description": "A library implementing the Saga pattern for microservice architecture", "repository": { "type": "git", "url": "https://github.com/duykhanhit/smart-saga-pattern" }, "homepage": "https://github.com/duykhanhit/smart-saga-pattern#readme", "bugs": { "url": "https://github.com/duykhanhit/smart-saga-pattern/issues" }, "devDependencies": { "@types/jest": "^29.5.14", "@types/node": "^22.15.18", "jest": "^29.7.0", "ts-jest": "^29.3.3", "ts-node": "^10.9.2", "typescript": "^5.8.3" }, "dependencies": { "@types/uuid": "^10.0.0", "uuid": "^11.1.0" } }