UNPKG

amqp-connection-manager

Version:
80 lines (79 loc) • 2.42 kB
{ "name": "amqp-connection-manager", "version": "5.0.1", "description": "Auto-reconnect and round robin support for amqplib.", "module": "./dist/esm/index.js", "main": "./dist/cjs/index.js", "types": "./dist/types/index.d.ts", "exports": { ".": { "types": "./dist/types/index.d.ts", "import": "./dist/esm/index.js", "require": "./dist/cjs/index.js", "default": "./dist/cjs/index.js" } }, "files": [ "dist/**/*" ], "dependencies": { "@types/chai-as-promised": "^8.0.2", "promise-breaker": "^7.0.0", "typed-emitter": "^2.1.0" }, "peerDependencies": { "amqplib": "*" }, "devDependencies": { "@eslint/js": "^10.0.1", "@types/node": "^26.6.5", "@vitest/coverage-v8": "^5.0.5", "amqplib": "^2.2.0", "chai": "^6.3.0", "chai-as-promised": "^8.0.2", "eslint": "^10.13.0", "husky": "^9.1.7", "istanbul": "^0.4.0", "lint-staged": "^17.6.0", "prettier": "^3.9.10", "promise-tools": "^2.1.0", "ts-node": "^10.2.1", "typescript": "^6.0.3", "typescript-eslint": "^8.71.2", "vitest": "^5.0.5" }, "engines": { "node": ">=22.0.0" }, "scripts": { "prepare": "husky && npm run build", "prepublishOnly": "npm run build", "build": "tsc -p tsconfig.esm.json && tsc -p tsconfig.cjs.json && tsc -p tsconfig.types.json && ./bin/build-types.sh", "clean": "rm -rf dist types coverage", "test": "npm run test:lint && npm run test:unittest", "test:unittest": "tsc -p test && vitest run --coverage", "test:lint": "eslint --ext .ts src test" }, "repository": { "type": "git", "url": "https://github.com/jwalton/node-amqp-connection-manager" }, "lint-staged": { "**/*.ts": [ "eslint --ext .ts", "prettier --write" ] }, "keywords": [ "amqp", "rabbitmq", "cluster", "amqplib" ], "author": "Jason Walton <dev@lucid.thedreaming.org> (https://github.com/jwalton)", "license": "MIT", "bugs": { "url": "https://github.com/jwalton/node-amqp-connection-manager/issues" }, "homepage": "https://github.com/jwalton/node-amqp-connection-manager" }