This repository has been archived by the owner on Jun 17, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
40 lines (40 loc) · 2.05 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
{
"name": "medical_blockchain",
"version": "0.1.0",
"description": "Bootstrap project for Chaincodes Medical Blockchain",
"files": [
"dist/*"
],
"scripts": {
"install": "npm-run-all -s lerna:install",
"env:restart": "hurl new",
"clean": "npx lerna run clean && npx lerna clean",
"server:start": "npx lerna run start --scope server --stream",
"server:build": "npx lerna run build --scope server --stream",
"server:storage": " docker run -d --name ipfs-node -v ~/abc/tmp/ipfs-docker-staging:/export -v ~/abc/tmp/ipfs-docker-data:/data/ipfs -p 8080:8080 -p 4001:4001 -p 127.0.0.1:5001:5001 ipfs/go-ipfs:latest",
"server:vault": "docker run -d --cap-add=IPC_LOCK -p 8200:8200 -e 'VAULT_DEV_ROOT_TOKEN_ID=myroot' --name=dev-vault vault",
"test": "npm-run-all -s lerna:test",
"test:e2e": "npm-run-all -s lerna:test:e2e",
"env:clean": "hurl clean",
"cc:start": "f() { npm run cc:package -- $1; npm run cc:install $1 $2; }; f",
"cc:upgrade": "f() { npm run cc:package -- $1; hurl upgrade ${3:-$1} node $2 -P ./chaincode-$1 --collections-config ./collections.json; }; f",
"cc:start:debug": "f() { npm run cc:package -- $1; npm run cc:install:debug $1 $2; }; f",
"===================INTERNALS===================": "===================NO NEED TO CALL THEM DIRECTLY===================",
"lerna:install": "lerna bootstrap",
"lerna:build": "lerna run build",
"cc:package": "f() { npm run lerna:build; chaincode-manager --update --config ./$1.config.json --output ./chaincode-$1 package; }; f",
"cc:install": "f() { hurl install ${2:-$1} node -P ./chaincode-$1 --collections-config ./collections.json; }; f",
"cc:install:debug": "f() { hurl install ${2:-$1} node -P ./chaincode-$1 --debug; }; f",
"lerna:test": "lerna run test --stream",
"lerna:test:e2e": "lerna run test:e2e --stream"
},
"devDependencies": {
"lerna": "^3.13.0",
"@worldsibu/convector-adapter-mock": "~1.3.8",
"@worldsibu/convector-platform-fabric": "~1.3.8",
"@worldsibu/hurley": "^1.1.4",
"fabric-ca-client": "1.4.0",
"fabric-client": "1.4.0",
"npm-run-all": "^4.1.5"
}
}