@rainblock/protocol
v4.1.1preinstall
mkdir -p prototool;curl -sSL https://github.com/uber/prototool/releases/download/v1.3.0/prototool-$(uname -s)-$(uname -m).tar.gz | tar -C prototool --strip-components 1 -xz
format
prototool/bin/prototool all src
compile
npm run generate;tsc -p .
prepare
npm run compile
pretest
npm run compile
generate
mkdir -p generated;grpc_tools_node_protoc --js_out=import_style=commonjs,binary:./generated --grpc_out=./generated --plugin=protoc-gen-grpc=`which grpc_tools_node_protoc_plugin` -I src src/*.proto; prototool/bin/prototool generate src
test
(prototool/bin/prototool lint src || (echo 'protobuf lint failed, try `npm run format` to fix' && exit 1)) && prototool/bin/prototool all src
prepublish
npm run compile
npm i @rainblock/protocol
Metadata
- Apache-2.0
- Whatever
- Michael Wei
- released 4/13/2019