-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
executable file
·30 lines (30 loc) · 1.04 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
{
"name": "altinn-network",
"version": "1.0.0",
"description": "Generic network on blockchain",
"main": "docker-compose.yml",
"scripts": {
"install": "(./composer/hlfv11/downloadFabric.sh) & (cd server && npm i) & (cd composer/bna && npm i) & (cd client && npm i)",
"start": "source initAndStart.sh",
"test-server": "cd server && npm test",
"test-composer": "cd composer/bna && npm test",
"test": "npm run test-server && npm run test-composer",
"lint": "(cd client && ng lint) & (cd server && npm run lint) & (cd composer/bna && npm run lint)",
"validate-commit": "branch=$(git rev-parse --abbrev-ref HEAD); if [ $branch == 'master' ]; then echo \"You can't commit directly to master branch\"; exit 1; fi & npm run lint & npm run test"
},
"keywords": [
"fabric",
"composer",
"boilerplate",
"blockchain",
"hyperledger"
],
"author": "IBM Client Innovation Center Benelux",
"license": "UNLICENSED",
"devDependencies": {
"pre-commit": "1.2.2"
},
"pre-commit": [
"validate-commit"
]
}