UNPKG

nice-grpc-server-reflection

Version:

Server reflection for nice-grpc

43 lines (42 loc) 1.55 kB
{ "name": "nice-grpc-server-reflection", "version": "3.0.0", "description": "Server reflection for nice-grpc", "keywords": [ "grpc", "nice-grpc", "server-reflection" ], "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 && rimraf lib/proto && cpr src/proto lib/proto", "prepublishOnly": "npm test && npm run clean && npm run build", "prepare:proto": "mkdirp ./src/proto && grpc_tools_node_protoc --js_out=import_style=commonjs,binary:./src/proto --grpc_out=grpc_js:./src/proto --ts_out=grpc_js:./src/proto -I ./proto proto/grpc/reflection/v1/reflection.proto && grpc_tools_node_protoc --ts_proto_out=./fixtures --ts_proto_opt=outputServices=generic-definitions,useExactTypes=false,esModuleInterop=true -I fixtures fixtures/*.proto --descriptor_set_out=fixtures/test.protoset.bin --include_imports", "prepare": "npm run prepare:proto" }, "author": "Daniel Lytkin <aikoven@deeplay.io>", "license": "MIT", "devDependencies": { "@tsconfig/node14": "^14.1.0", "@types/node": "^18.0.0", "cpr": "^3.0.1", "grpc-tools": "^1.12.4", "grpc_tools_node_protoc_ts": "^5.1.3" }, "dependencies": { "@types/google-protobuf": "^3.7.4", "google-protobuf": "^3.15.6", "nice-grpc": "^2.1.12" }, "gitHead": "ed2f7efb935bb4ad70dfb53b73d22a47ee415261" }