fabric-shim
v2.5.7 fabric-shim Hyperledger Fabric Fabric Shim
start
./startup.sh
compile
tsc --project test/typescript
test
nyc mocha --recursive 'test/unit/**/*.js' --reporter spec-junit-splitter-mocha-reporter
update:clean
rimraf bundle.js bundle.d.ts protos && mkdirp protos
update:copy
cpx "${GOPATH}/src/github.com/hyperledger/fabric-protos/**/*.proto" protos --verbose
update:pbjs
pbjs -t static-module -p google-protos -p protos $(find google-protos protos -name "*.proto" -type f) -o bundle.js
update:pbts
pbts -o bundle.d.ts bundle.js
update
npm run update:clean && npm run update:copy && npm run update:pbjs && npm run update:pbts
lint
eslint ./lib ./types ./test/typescript/*.ts --ext .js --ext .ts
build
npm run lint & npm test 2>&1