UNPKG

kubemq-js

Version:

KubeMQ SDK for Node.js — gRPC-based messaging client for Events, Queues, Commands, and Queries

122 lines (121 loc) 3.47 kB
{ "name": "kubemq-js", "version": "3.0.1", "description": "KubeMQ SDK for Node.js — gRPC-based messaging client for Events, Queues, Commands, and Queries", "type": "module", "main": "./dist/index.cjs", "module": "./dist/index.js", "types": "./dist/index.d.ts", "exports": { ".": { "import": { "types": "./dist/index.d.ts", "default": "./dist/index.js" }, "require": { "types": "./dist/index.d.cts", "default": "./dist/index.cjs" } } }, "files": [ "dist/**/*", "LICENSE", "README.md", "CHANGELOG.md" ], "scripts": { "clean": "rimraf dist", "build": "npm run clean && tsup", "build:check": "tsc --noEmit", "format": "prettier --write .", "format:check": "prettier --check .", "lint": "eslint . --max-warnings 0", "lint:fix": "eslint . --fix", "test": "vitest run --config vitest.config.ts", "test:unit": "vitest run --config vitest.config.ts", "test:watch": "vitest --config vitest.config.ts", "test:coverage": "vitest run --config vitest.config.ts --coverage", "test:integration": "vitest run --config vitest.integration.config.ts", "typecheck": "tsc --noEmit", "prepublishOnly": "npm run build && npm run lint && npm run test", "prepack": "npm run build", "version": "node scripts/sync-version.mjs && git add src/version.ts", "postbuild": "node scripts/fixup-cjs.mjs", "audit:check": "npm audit --audit-level=high", "bench": "vitest bench --config vitest.config.bench.ts", "bench:setup": "docker compose -f benchmarks/docker-compose.yml up -d --wait", "bench:teardown": "docker compose -f benchmarks/docker-compose.yml down", "docs": "typedoc", "docs:check": "typedoc --logLevel Warn", "prepare": "husky" }, "publishConfig": { "registry": "https://registry.npmjs.org", "access": "public" }, "repository": { "type": "git", "url": "https://github.com/kubemq-io/kubemq-js" }, "author": "KubeMQ", "license": "Apache-2.0", "bugs": { "url": "https://github.com/kubemq-io/kubemq-js/issues", "email": "support@kubemq.io" }, "homepage": "https://github.com/kubemq-io/kubemq-js#readme", "keywords": [ "kubemq", "message-broker", "queue", "pubsub", "rpc", "grpc", "events", "commands", "queries", "typescript" ], "engines": { "node": ">=20.11.0" }, "dependencies": { "@grpc/grpc-js": "^1.11.1", "@grpc/proto-loader": "^0.8.0", "google-protobuf": "^4.0.2" }, "peerDependencies": { "@opentelemetry/api": "^1.7.0" }, "peerDependenciesMeta": { "@opentelemetry/api": { "optional": true } }, "devDependencies": { "@commitlint/cli": "^20.4.4", "@commitlint/config-conventional": "^20.4.4", "@eslint/js": "^10.0.1", "@opentelemetry/api": "^1.9.0", "@opentelemetry/sdk-trace-base": "^2.6.0", "@types/google-protobuf": "^3.15.12", "@types/node": "^25.5.0", "@vitest/coverage-v8": "^4.1.0", "eslint-plugin-import-x": "^4.16.2", "grpc-tools": "^1.12.4", "husky": "^9.1.7", "prettier": "^3.0.0", "protoc-gen-ts": "^0.8.7", "rimraf": "^6.0.0", "ts-proto": "^2.0.3", "tsup": "^8.0.0", "typedoc": "^0.28.0", "typedoc-plugin-markdown": "^4.0.0", "typescript": "^5.5.4", "typescript-eslint": "^8.0.0", "vite": "^6.4.1", "vitest": "^4.1.0" }, "sideEffects": false }