forked from IBM-Blockchain-Archive/fabric-boilerplate
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
44 lines (44 loc) · 1.77 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
42
43
44
{
"name": "hyperledger-app",
"version": "0.1.0",
"description": "Webapplication built on top of Hyperledger Fabric",
"main": "docker-compose up",
"os": [
"darwin",
"linux"
],
"engines": {
"npm": "~3.10.8",
"node": "~6.9.1"
},
"scripts": {
"start": "docker-compose up",
"install": "npm run getbaseimage && npm run govend && docker-compose pull && docker-compose build",
"getbaseimage": "docker pull hyperledger/fabric-baseimage:x86_64-0.2.2 && docker tag hyperledger/fabric-baseimage:x86_64-0.2.2 hyperledger/fabric-baseimage:latest",
"govend": "docker-compose run utils bash -c 'cd blockchain/src/build-chaincode && GOPATH=$(pwd)/../.. govend -rv' && sudo chown -R $USER blockchain",
"test-go": "docker-compose run utils bash -c 'cd blockchain/src/build-chaincode && GOPATH=$(pwd)/../.. go test $(ls -d1 ./*/ | grep -v vendor | tr \"\n\" \" \" ) ./ '",
"test-server": "docker-compose build server && docker-compose run server bash -c 'npm test'",
"test-client": "docker-compose run -p 9876:9876 client bash -c 'npm test'",
"test-e2e": "docker-compose exec server bash -c 'npm run e2e'",
"test": "npm -s run test-server && npm -s run test-go",
"cf": "docker build --tag cf . && docker run -it --rm -v $(pwd)/server/resources:/usr/src/app/server/resources cf"
},
"repository": {
"type": "git",
"url": "git+ssh://[email protected]/IBM-Blockchain/fabric-boilerplate.git"
},
"keywords": [
"hyperledger",
"fabric",
"nodejs",
"angular",
"typescript",
"blockchain"
],
"author": "IBM Client Innovation Center Benelux",
"license": "Apache-2.0",
"bugs": {
"url": "https://github.com/IBM-Blockchain/fabric-boilerplate/issues"
},
"homepage": "https://github.com/IBM-Blockchain/fabric-boilerplate"
}