diff --git a/README.md b/README.md index 0765530..8953167 100644 --- a/README.md +++ b/README.md @@ -17,7 +17,7 @@ yarn add --dev proto-to-ts-type ```sh protoc \ - --plugin="./build/src/protoc-gen-ts-type" \ + --plugin="./node_modules/.bin/protoc-gen-ts-type" \ --ts-type_out=. \ proto.proto ``` @@ -28,9 +28,9 @@ For example, If you'd like to generate `json_name` defined in protofiles as TS t Each the pair of key and value is supposed to be delimited by equal sign `=`, and comma `,` for each parameters. -``` +```sh protoc \ - --plugin="./build/src/protoc-gen-ts-type" \ + --plugin="./node_modules/.bin/protoc-gen-ts-type" \ --ts-type_out=. \ --ts-type_opt=useJsonName=true,enumValueAsString=true \ proto.proto diff --git a/package.json b/package.json index 850a76b..6ddb929 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "proto-to-ts-type", - "version": "0.1.0", + "version": "0.1.1", "description": "proto-to-ts-type", "author": "yoshinari-yamanaka", "license": "MIT",