|
a |
|
b/contract/package.json |
|
|
1 |
{ |
|
|
2 |
"name": "contract", |
|
|
3 |
"version": "0.3.4", |
|
|
4 |
"description": "My Smart Contract", |
|
|
5 |
"main": "index.js", |
|
|
6 |
"engines": { |
|
|
7 |
"node": ">=8", |
|
|
8 |
"npm": ">=5" |
|
|
9 |
}, |
|
|
10 |
"scripts": { |
|
|
11 |
"test": "nyc mocha --recursive", |
|
|
12 |
"start": "fabric-chaincode-node start" |
|
|
13 |
}, |
|
|
14 |
"engineStrict": true, |
|
|
15 |
"author": "John Doe", |
|
|
16 |
"license": "Apache-2.0", |
|
|
17 |
"dependencies": { |
|
|
18 |
"fabric-contract-api": "^1.4.1", |
|
|
19 |
"fabric-shim": "^1.4.1", |
|
|
20 |
"mem": "^5.1.1", |
|
|
21 |
"os-locale": "^4.0.0" |
|
|
22 |
}, |
|
|
23 |
"devDependencies": { |
|
|
24 |
"chai": "^4.2.0", |
|
|
25 |
"chai-as-promised": "^7.1.1", |
|
|
26 |
"eslint": "^6.8.0", |
|
|
27 |
"mocha": "^7.1.1", |
|
|
28 |
"nyc": "^15.0.0", |
|
|
29 |
"sinon": "^9.0.1", |
|
|
30 |
"sinon-chai": "^3.5.0", |
|
|
31 |
"winston": "^3.2.1" |
|
|
32 |
}, |
|
|
33 |
"nyc": { |
|
|
34 |
"exclude": [ |
|
|
35 |
".eslintrc.js", |
|
|
36 |
"coverage/**", |
|
|
37 |
"test/**" |
|
|
38 |
], |
|
|
39 |
"reporter": [ |
|
|
40 |
"text-summary", |
|
|
41 |
"html" |
|
|
42 |
], |
|
|
43 |
"all": true, |
|
|
44 |
"check-coverage": true, |
|
|
45 |
"statements": 100, |
|
|
46 |
"branches": 100, |
|
|
47 |
"functions": 100, |
|
|
48 |
"lines": 100 |
|
|
49 |
} |
|
|
50 |
} |