UNPKG

nice-grpc

Version:

A Node.js gRPC library that is nice to you

52 lines (51 loc) 1.96 kB
{ "name": "nice-grpc", "version": "2.1.12", "description": "A Node.js gRPC library that is nice to you", "keywords": [ "grpc", "promise", "async-iterable", "abort-controller", "abort-signal", "typescript" ], "repository": "deeplay-io/nice-grpc", "main": "lib/index.js", "typings": "lib/index.d.ts", "files": [ "lib", "src", "!src/**/*.test.ts", "!src/**/__tests__" ], "scripts": { "clean": "rimraf lib", "test": "jest", "build": "tsc -P tsconfig.build.json", "prepublishOnly": "npm run clean && npm run build && npm test", "prepare:proto:grpc-js": "mkdirp ./fixtures/grpc-js && grpc_tools_node_protoc --plugin=protoc-gen-grpc=./node_modules/.bin/grpc_tools_node_protoc_plugin --plugin=protoc-gen-ts=./node_modules/.bin/protoc-gen-ts --js_out=import_style=commonjs,binary:./fixtures/grpc-js --ts_out=grpc_js:./fixtures/grpc-js --grpc_out=grpc_js:./fixtures/grpc-js -I fixtures fixtures/*.proto", "prepare:proto:ts-proto": "mkdirp ./fixtures/ts-proto && grpc_tools_node_protoc --ts_proto_out=./fixtures/ts-proto --ts_proto_opt=outputServices=nice-grpc,outputServices=generic-definitions,useExactTypes=false,esModuleInterop=true -I fixtures fixtures/*.proto", "prepare:proto": "npm run prepare:proto:grpc-js && npm run prepare:proto:ts-proto", "prepare": "npm run prepare:proto" }, "author": "Daniel Lytkin <aikoven@deeplay.io>", "license": "MIT", "devDependencies": { "@tsconfig/node14": "^14.1.0", "@types/defer-promise": "^1.0.0", "@types/google-protobuf": "^3.7.4", "@types/node": "^18.0.0", "defer-promise": "^2.0.1", "google-protobuf": "^3.14.0", "grpc-tools": "^1.12.4", "grpc_tools_node_protoc_ts": "^5.0.1", "ts-proto": "^2.5.1" }, "dependencies": { "@grpc/grpc-js": "^1.13.1", "abort-controller-x": "^0.4.0", "nice-grpc-common": "^2.0.2" }, "gitHead": "7458e8a57aec763d854c2e6eb119bfe6820b17dd" }