etcd3
v0.2.6 etcd3 etcd node client protobuf proto
test
npm-run-all --parallel test:lint test:unit
test:unit
mocha
test:cover
nyc mocha
test:lint
tslint --type-check --project tsconfig.json '{src,test}/**/*.ts'
build:proto
node ./bin/update-proto ./proto && node bin/generate-methods.js ./proto/rpc.proto > src/rpc.ts
build:doc
rm -rf docs && typedoc --gitRevision `git describe --abbrev=0 --tags` --exclude "**/test/*" --excludePrivate --out ./docs ./src/index.ts && node bin/tame-typedoc
build:ts
tsc && cp -R proto lib
fmt
npm-run-all --parallel fmt:ts fmt:js && npm run -s test:lint -- --fix
fmt:js
prettier --single-quote --trailing-comma es5 --write --print-width 100 "bin/*.js"
fmt:ts
prettier --single-quote --trailing-comma all --parser typescript --print-width 100 --write "{src,test}/**/*.ts"
prepublish
npm run -s build:ts