forked from worldsibu/convector-example-token
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
38 lines (38 loc) · 1.69 KB
/
package.json
File metadata and controls
38 lines (38 loc) · 1.69 KB
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
{
"name": "convector-example-token",
"version": "1.0.0",
"description": "Test Token",
"main": "index.js",
"license": "ISC",
"scripts": {
"restart": "./node_modules/@worldsibu/convector-tool-dev-env/scripts/restart.sh && npm run cc:build && npm run cc:install --",
"start": "./node_modules/@worldsibu/convector-tool-dev-env/scripts/start.sh && npm run cc:build && npm run cc:upgrade --",
"test": "mocha -r ts-node/register tests/**/*.spec.ts --reporter spec",
"build": "generate-controller-interface -c TokenController -p ./token/tsconfig.json -o ../token-client",
"user:fingerprint": "f () { node -e \"console.log(JSON.parse(require('fs').readFileSync('./.hfc-key-store/$1', 'utf8')).enrollment.identity.certificate)\" | openssl x509 -fingerprint -noout | cut -d '=' -f2 ; }; f",
"cc:build": "tsc -p ./token/tsconfig.json",
"cc:install": "chaincode-manager --config ./chaincode.config.json install token",
"cc:upgrade": "chaincode-manager --config ./chaincode.config.json upgrade token",
"cc:invoke": "chaincode-manager --config ./chaincode.config.json invoke token"
},
"dependencies": {
"@worldsibu/convector-core-controller": "1.0.0",
"@worldsibu/convector-core-model": "1.0.0",
"reflect-metadata": "0.1.12"
},
"devDependencies": {
"@types/chai": "^4.0.4",
"@types/mocha": "^2.2.43",
"@types/node": "^10.3.2",
"@types/uuid": "^3.4.3",
"@worldsibu/convector-adapter-mock": "1.0.0",
"@worldsibu/convector-tool-chaincode-manager": "1.0.0",
"@worldsibu/convector-tool-dev-env": "1.0.0",
"chai": "^4.1.2",
"mocha": "^5.0.3",
"rimraf": "^2.6.2",
"ts-node": "^6.0.3",
"typescript": "^2.8.3",
"uuid": "^3.2.1"
}
}