-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathpackage.json
More file actions
35 lines (35 loc) · 1.46 KB
/
package.json
File metadata and controls
35 lines (35 loc) · 1.46 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
{
"name": "convector-example-token",
"version": "1.0.0",
"description": "Test Token",
"main": "index.js",
"license": "ISC",
"scripts": {
"start": "npm run cc:package && hurl new -u 10 && npm run cc:install",
"test": "npm run cc:build && mocha -r ts-node/register tests/**/*.spec.ts --reporter spec",
"user:fingerprint": "f () { node -e \"const homedir = require('os').homedir(); console.log(JSON.parse(require('fs').readFileSync('/'+homedir+'/hyperledger-fabric-network/.hfc-org1/$1', 'utf8')).enrollment.identity.certificate)\" | openssl x509 -fingerprint -noout | cut -d '=' -f2 ; }; f",
"cc:build": "tsc -p ./token/tsconfig.json",
"cc:install": "hurl install token node -P ./chaincode-token",
"cc:upgrade": "f() { npm run cc:package; hurl upgrade token node $1 -P ./chaincode-token ;}; f",
"cc:package": "f() { npm run cc:build; chaincode-manager --config ./token.config.json --output ./chaincode-token package; }; f"
},
"dependencies": {
"@worldsibu/convector-core": "~1.3.3",
"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/hurley": "~1.0.1",
"@worldsibu/convector-adapter-mock": "~1.3.3",
"@worldsibu/convector-platform-fabric": "~1.3.3",
"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"
}
}