Skip to content

Commit

Permalink
Merge "[FAB-6870] Update node modules versions"
Browse files Browse the repository at this point in the history
  • Loading branch information
mastersingh24 authored and Gerrit Code Review committed Nov 6, 2017
2 parents 7c23985 + 1961835 commit b09febd
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 3 deletions.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -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*
4 changes: 3 additions & 1 deletion chaincode/fabcar/node/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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": {
Expand Down
4 changes: 2 additions & 2 deletions fabcar/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
3 changes: 3 additions & 0 deletions fabcar/startFabric.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit b09febd

Please sign in to comment.