mirror of
https://github.com/hyperledger/fabric-samples.git
synced 2026-06-17 15:35:09 +00:00
- Made it possible to deploy the app (both the client and fabric backend) to a location other than localhost - Made it possible to work with a backend over grpc instead of always assuming grpcs - Made the list of target peers for instantiate and invoke calls to be optional - Enabled target networks to be controlled by an env variable Change-Id: Ie394cf7e8f6ed47d970d4be992f2f6a0394fff7f Signed-off-by: Jim Zhang <jzhang@us.ibm.com>
33 lines
825 B
JSON
33 lines
825 B
JSON
{
|
|
"name": "balance-transfer",
|
|
"version": "1.0.0",
|
|
"description": "A balance-transfer example node program to demonstrate using node.js SDK APIs",
|
|
"main": "app.js",
|
|
"scripts": {
|
|
"start": "node app.js"
|
|
},
|
|
"keywords": [
|
|
"fabric-client sample app",
|
|
"balance-transfer node sample",
|
|
"v1.0 fabric nodesdk sample"
|
|
],
|
|
"engines": {
|
|
"node": ">=6.9.5 <7.0",
|
|
"npm": ">=3.10.10 <4.0"
|
|
},
|
|
"license": "Apache-2.0",
|
|
"dependencies": {
|
|
"body-parser": "^1.17.1",
|
|
"cookie-parser": "^1.4.3",
|
|
"cors": "^2.8.3",
|
|
"express": "^4.15.2",
|
|
"express-bearer-token": "^2.1.0",
|
|
"express-jwt": "^5.1.0",
|
|
"express-session": "^1.15.2",
|
|
"fabric-ca-client": "^1.0.0",
|
|
"fabric-client": "^1.0.0",
|
|
"fs-extra": "^2.0.0",
|
|
"jsonwebtoken": "^7.3.0",
|
|
"log4js": "^0.6.38"
|
|
}
|
|
}
|