mirror of
https://github.com/hyperledger/fabric-samples.git
synced 2026-06-17 15:35:09 +00:00
[FAB-6870] Update node modules versions
fabcar uses 1.0.2 node modules changing it to unstable so that latest node modules can be used on master branch Change-Id: Ia9dc866931763760dd3cd7dbc5c7fd9a5de099be Signed-off-by: ratnakar <asara.ratnakar@gmail.com>
This commit is contained in:
parent
733ce9fbd7
commit
1961835674
4 changed files with 10 additions and 3 deletions
2
.gitignore
vendored
2
.gitignore
vendored
|
|
@ -20,8 +20,10 @@ chaincode-docker-devmode/chaincode/chaincode_example02/chaincode_example02
|
|||
# fabric sdk node modules
|
||||
fabcar/node_modules/
|
||||
fabcar/package-lock.json
|
||||
fabcar/hfc-key-store/
|
||||
|
||||
# balance transfer sample
|
||||
balance-transfer/.DS_Store
|
||||
balance-transfer/node_modules/*
|
||||
balance-transfer/package-lock.json
|
||||
balance-transfer/fabric-client-kv-org*
|
||||
|
|
|
|||
|
|
@ -6,7 +6,9 @@
|
|||
"node": ">=8.4.0",
|
||||
"npm": ">=5.3.0"
|
||||
},
|
||||
"scripts": { "start" : "node fabcar.js" },
|
||||
"scripts": {
|
||||
"start": "node fabcar.js"
|
||||
},
|
||||
"engine-strict": true,
|
||||
"license": "Apache-2.0",
|
||||
"dependencies": {
|
||||
|
|
|
|||
|
|
@ -7,8 +7,8 @@
|
|||
"test": "echo \"Error: no test specified\" && exit 1"
|
||||
},
|
||||
"dependencies": {
|
||||
"fabric-ca-client": "^1.0.2",
|
||||
"fabric-client": "^1.0.2",
|
||||
"fabric-ca-client": "unstable",
|
||||
"fabric-client": "unstable",
|
||||
"grpc": "^1.6.0"
|
||||
},
|
||||
"author": "Anthony O'Dowd",
|
||||
|
|
|
|||
|
|
@ -16,6 +16,9 @@ if [ "$LANGUAGE" = "node" -o "$LANGUAGE" = "NODE" ]; then
|
|||
CC_SRC_PATH=/opt/gopath/src/github.com/fabcar/node
|
||||
fi
|
||||
|
||||
# clean the keystore
|
||||
rm -rf ./hfc-key-store
|
||||
|
||||
# launch network; create channel and join peer to channel
|
||||
cd ../basic-network
|
||||
./start.sh
|
||||
|
|
|
|||
Loading…
Reference in a new issue