| { |
| "name": "rocketmq-client-nodejs", |
| "version": "1.0.0", |
| "description": "RocketMQ Node.js Client", |
| "main": "dist/index.js", |
| "types": "dist/index.d.ts", |
| "files": [ |
| "proto", |
| "dist", |
| "src" |
| ], |
| "scripts": { |
| "init": "npm run build:grpc", |
| "test": "egg-bin test", |
| "cov": "egg-bin cov", |
| "lint": "eslint src test", |
| "build:grpc": "scripts/build-grpc.sh", |
| "clean": "rm -rf dist *.d.ts", |
| "tsc": "tsc -p tsconfig.prod.json", |
| "build": "npm run clean && npm run build:grpc && npm run tsc", |
| "start-rocketmq": "sh test/start-rocketmq.sh", |
| "ci": "npm run lint && npm run build && npm run cov", |
| "prepublishOnly": "npm run build" |
| }, |
| "repository": { |
| "type": "git", |
| "url": "git+ssh://git@github.com/apache/rocketmq-clients.git", |
| "directory": "nodejs" |
| }, |
| "keywords": [ |
| "rocketmq" |
| ], |
| "license": "Apache-2.0", |
| "bugs": { |
| "url": "https://github.com/apache/rocketmq-clients/issues" |
| }, |
| "homepage": "https://github.com/apache/rocketmq-clients/blob/master/nodejs/README.md", |
| "devDependencies": { |
| "@eggjs/tsconfig": "^1.3.3", |
| "@types/google-protobuf": "^3.15.6", |
| "@types/mocha": "^10.0.1", |
| "@types/node": "^20.5.7", |
| "egg-bin": "^6.4.2", |
| "eslint": "^8.48.0", |
| "eslint-config-egg": "^12.2.1", |
| "grpc-tools": "^1.12.4", |
| "grpc_tools_node_protoc_ts": "^5.3.3", |
| "typescript": "^5.2.2" |
| }, |
| "dependencies": { |
| "@grpc/grpc-js": "^1.9.1", |
| "@node-rs/crc32": "^1.7.2", |
| "address": "^1.2.2", |
| "egg-logger": "^3.4.0", |
| "google-protobuf": "^3.21.2", |
| "siphash24": "^1.3.1" |
| }, |
| "engines": { |
| "node": ">=16.19.0" |
| } |
| } |