-
Notifications
You must be signed in to change notification settings - Fork 4
/
package.json
41 lines (41 loc) · 1.69 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
41
{
"name": "coffee",
"version": "0.1.0",
"description": "Bootstrap project for Chaincodes coffee",
"files": [
"dist/*"
],
"scripts": {
"install": "npm-run-all -s lerna:install",
"build": "node ./update-paths.js",
"env:restart": "hurl new -u 3",
"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; }; 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; }; 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": {
"@worldsibu/conv-rest-api": "^0.1.4",
"@worldsibu/convector-adapter-mock": "1.3.6-0-alpha.250f15eb",
"@worldsibu/convector-platform-fabric": "1.3.6-0-alpha.250f15eb",
"@worldsibu/hurley": "~1.0.0",
"fabric-ca-client": "~1.4.0",
"fabric-client": "~1.4.0",
"lerna": "^3.13.0",
"npm-run-all": "^4.1.5"
},
"dependencies": {
"forge": "^2.3.0",
"node-forge": "^0.8.5"
}
}