fabric-protos
Version:
Protocol Buffer files and generated JavaScript classes for Hyperledger Fabric
46 lines (45 loc) • 1.38 kB
JSON
{
"name": "fabric-protos",
"version": "2.2.20",
"description": "Protocol Buffer files and generated JavaScript classes for Hyperledger Fabric",
"main": "index.js",
"scripts": {
"update:clean": "rimraf bundle.js protos && mkdirp protos",
"update:copy": "cpx \"${GOPATH}/src/github.com/hyperledger/fabric-protos/**/*.proto\" protos",
"update:pbjs": "pbjs -t static-module -p google-protos -p protos $(find google-protos protos -name \"*.proto\" -type f) -o bundle.js --keep-case",
"update:pbts": "pbts -o './types/index.d.ts' bundle.js",
"update": "npm run update:clean && npm run update:copy && npm run update:pbjs",
"test": "echo \"Error: no test specified\" && exit 1"
},
"repository": {
"type": "github",
"url": "https://github.com/hyperledger/fabric-sdk-node"
},
"engines": {
"node": ">=10.13.0"
},
"keywords": [
"hyperledger",
"blockchain"
],
"license": "Apache-2.0",
"licenses": [
{
"type": "Apache-2.0",
"url": "https://github.com/hyperledger/fabric/blob/main/LICENSE"
}
],
"types": "./types/index.d.ts",
"dependencies": {
"@grpc/grpc-js": "~1.9.0",
"@grpc/proto-loader": "^0.7.0",
"long": "^5.2.3",
"protobufjs": "^7.2.0"
},
"devDependencies": {
"cpx": "^1.5.0",
"mkdirp": "^3.0.1",
"protobufjs-cli": "^1.1.2",
"rimraf": "^5.0.1"
}
}