-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
34 lines (34 loc) · 1.43 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
{
"name": "bughunting",
"version": "0.1.0",
"description": "Bootstrap project for Chaincodes bughunting",
"files": [
"dist/*"
],
"scripts": {
"install": "npm-run-all -s lerna:install",
"build": "node ./update-paths.js",
"env:restart": "hurl new",
"test": "npm-run-all -s lerna:test",
"env:clean": "hurl clean",
"cc:start": "f() { npm run cc:package -- $1 org1; npm run cc:install $1; }; f",
"cc:start:debug": "f() { npm run cc:package -- $1 org1; npm run cc:install:debug $1; }; f",
"cc:install:debug": "f() { hurl install $1 node -P ./chaincode-$1 --debug; }; f",
"cc:upgrade": "f() { npm run cc:package -- $1 org1; hurl upgrade $1 node $2 -P ./chaincode-$1; }; 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 --config ./$2.$1.config.json --output ./chaincode-$1 package; }; f",
"cc:install": "f() { hurl install $1 node -P ./chaincode-$1; }; f",
"lerna:test": "lerna exec npm run test"
},
"devDependencies": {
"lerna": "^3.13.0",
"@worldsibu/convector-adapter-mock": "~1.3.0",
"@worldsibu/convector-platform-fabric": "~1.3.0",
"fabric-ca-client": "~1.4.0",
"fabric-client": "~1.4.0",
"npm-run-all": "^4.1.5",
"@worldsibu/hurley": "~1.0.0"
}
}