node-circuit-breaker
Version:
Circuit Breaker: Decorators and tools that can easily apply the Circuit Breaker pattern.
72 lines (71 loc) • 1.61 kB
JSON
{
"name": "node-circuit-breaker",
"version": "0.1.1",
"description": "Circuit Breaker: Decorators and tools that can easily apply the Circuit Breaker pattern.",
"homepage": "https://github.com/kibae/node-circuit-breaker",
"repository": {
"type": "git",
"url": "https://github.com/kibae/node-circuit-breaker.git"
},
"main": "dist/index.js",
"types": "dist/index.d.ts",
"scripts": {
"test": "jest",
"test:watch": "jest --watch",
"build": "tsc -p tsconfig.build.json",
"publish": "rm -rf dist/* ; npm run build && npm publish --access public"
},
"keywords": [
"Circuit Breaker",
"Circuit",
"Breaker",
"Fast Fail",
"Decorator",
"hystrix",
"resilience4j",
"nodejs",
"typescript"
],
"author": "Kibae Shin <kibae.shin@gmail.com>",
"license": "MIT",
"devDependencies": {
"@nestjs/common": "^9.0.7",
"@types/jest": "^28.1.6",
"axios": "^0.27.2",
"jest": "^28.1.3",
"jest-junit": "^14.0.0",
"prettier": "^2.7.1",
"rxjs": "^7.5.6",
"sqlite3": "^5.0.9",
"ts-jest": "^28.0.7",
"ts-node": "^10.9.1",
"typeorm": "^0.3.0",
"typescript": "^4.7.4"
},
"files": [
"dist/**/*"
],
"jest": {
"moduleFileExtensions": [
"js",
"json",
"ts"
],
"rootDir": ".",
"testRegex": ".*\\.spec\\.ts$",
"transform": {
"^.+\\.(t|j)s$": "ts-jest"
},
"collectCoverageFrom": [
"**/*.(t|j)s"
],
"testEnvironment": "node",
"roots": [
"<rootDir>/src/"
],
"reporters": [
"default",
"jest-junit"
]
}
}