| { |
| "name": "pulsar-client", |
| "version": "1.12.0-rc.0", |
| "description": "Pulsar Node.js client", |
| "main": "index.js", |
| "types": "index.d.ts", |
| "directories": { |
| "src": "src", |
| "example": "examples" |
| }, |
| "scripts": { |
| "install": "node-pre-gyp install --fallback-to-build && node GenCertFile.js", |
| "configure": "node-pre-gyp configure", |
| "build": "npm run format && node-pre-gyp build", |
| "build:debug": "npm run format && node-pre-gyp rebuild --debug", |
| "clean": "node-pre-gyp clean", |
| "lint": "clang-format-lint src/*.cc src/*.h && eslint --ext .js .", |
| "format": "clang-format-lint --fix src/*.cc src/*.h && eslint --fix --ext .js .", |
| "dtslint": "dtslint .", |
| "license:report": "mkdir -p report && license-checker --json > report/licenses.json", |
| "license:checkheader": "license-check-and-add check", |
| "license:addheader": "license-check-and-add add", |
| "test": "jest --verbose --detectOpenHandles", |
| "docs": "typedoc" |
| }, |
| "repository": { |
| "type": "git", |
| "url": "https://github.com/apache/pulsar-client-node.git" |
| }, |
| "homepage": "https://pulsar.apache.org/docs/en/client-libraries-node", |
| "author": "Apache Software Foundation", |
| "license": "Apache-2.0", |
| "gypfile": true, |
| "engines": { |
| "node": ">=12.3.0" |
| }, |
| "devDependencies": { |
| "@seadub/clang-format-lint": "0.0.2", |
| "@types/node": "^14.14.25", |
| "clang-format": "^1.4.0", |
| "commander": "^6.1.0", |
| "delay": "^4.4.0", |
| "dtslint": "^4.2.0", |
| "eslint": "^7.8.1", |
| "eslint-config-airbnb-base": "^14.2.0", |
| "eslint-plugin-import": "^2.22.0", |
| "eslint-plugin-jest": "^24.3.6", |
| "hdr-histogram-js": "^2.0.1", |
| "jest": "^27.2.4", |
| "license-check-and-add": "^4.0.5", |
| "license-checker": "^25.0.1", |
| "lodash": "^4.17.21", |
| "typedoc": "^0.23.28", |
| "typescript": "^4.9.5" |
| }, |
| "dependencies": { |
| "@mapbox/node-pre-gyp": "^1.0.11", |
| "bindings": "^1.5.0", |
| "node-addon-api": "^4.3.0" |
| }, |
| "binary": { |
| "module_name": "pulsar", |
| "module_path": "./lib/binding/", |
| "host": "https://archive.apache.org/dist/pulsar/pulsar-client-node/", |
| "remote_path": "pulsar-client-node-{version}", |
| "package_name": "napi-{platform}-{libc}-{arch}.tar.gz" |
| } |
| } |