From b182e369c60bd260c939895607014fb1050de418 Mon Sep 17 00:00:00 2001 From: Nex Date: Mon, 7 Dec 2020 16:32:36 +0800 Subject: [PATCH] docs: update outdated README --- grpc/README.md | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/grpc/README.md b/grpc/README.md index 30599a8..f5fc318 100644 --- a/grpc/README.md +++ b/grpc/README.md @@ -35,13 +35,9 @@ For generating HTTP JSON APIs with [grpc-gateway](https://grpc-ecosystem.github. For generating Java code: From `bdledger-sdk-java` run `gradle generateProto` -For generating Node.js code, install Node.js then run: +For generating Node.js code (and TypeScript definitions), install Node.js then run: ```bash -npm install -g grpc-tools -``` -For generating TypeScript definitions, also run: -```bash -npm install -g protoc-gen-ts +npm install ``` For frontend JavaScript: