UNPKG

node-nats-streaming

Version:

Node.js client for NATS Streaming, a lightweight, high-performance cloud native messaging system

79 lines (78 loc) 2.38 kB
{ "name": "node-nats-streaming", "version": "0.3.2", "description": "Node.js client for NATS Streaming, a lightweight, high-performance cloud native messaging system", "keywords": [ "nats", "streaming", "messaging", "pubsub", "publish", "subscribe", "queue", "distributed", "queueing" ], "homepage": "https://nats.io", "repository": { "type": "git", "url": "git@github.com:nats-io/stan.js.git" }, "bugs": { "url": "https://github.com/nats-io/stan.js/issues" }, "license": "Apache-2.0", "private": false, "author": { "name": "The NATS Authors" }, "contributors": [], "main": "./index.js", "scripts": { "cover": "nyc report --reporter=html && open coverage/index.html", "coveralls": "nyc report --reporter=text-lcov | coveralls", "depcheck": "dependency-check --no-dev package.json", "depcheck:unused": "dependency-check package.json --no-dev --entry ./**/*.js", "fmt": "standard --fix index.js 'lib/stan.js' 'test/**/*.js' 'examples/*.js' 'bench/*.js'", "gen": "protoc --js_out=import_style=commonjs_strict,binary:. lib/pb/protocol.proto", "lint": "standard 'lib/stan.js' 'test/**/*.js' 'examples/*.js' 'bench/*.js'", "test": "npm run depcheck && npm run depcheck:unused && npm run lint && npm run test:typescript && npm run test:unit", "test:typescript": "./node_modules/typescript/bin/tsc --strict --noEmit tstest/main.ts", "test:unit": "mkdir -p reports/ && NODE_ENV=test multi='spec=- xunit=reports/mocha-xunit.xml' nyc mocha --timeout 10000 --slow 750", "wtf": "wtfnode /usr/local/bin/_mocha --timeout 10000 --slow 750" }, "engines": { "node": ">= 8.0.0" }, "dependencies": { "google-protobuf": "^3.11.2", "nats": "^1.4.9", "nuid": "^1.1.4" }, "devDependencies": { "@types/node": "^13.13.4", "coveralls": "^3.1.0", "dependency-check": "4.1.0", "eslint": "^6.8.0", "minimist": "^1.2.5", "mocha": "^7.1.2", "mocha-lcov-reporter": "^1.3.0", "nyc": "^15.0.1", "should": "^13.2.3", "standard": "^14.3.3", "typescript": "^3.8.3" }, "typings": "./index.d.ts", "nyc": { "exclude": [ "test/**", "examples/**", "bench/**", "lib/pb/**" ] }, "bin": { "node-stan-pub": "examples/stan-pub.js", "node-stan-sub": "examples/stan-sub.js" } }