forked from hyperledger/fabric-sdk-node
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
114 lines (114 loc) · 5.08 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
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
{
"name": "fabric-sdk-node",
"version": "1.4.9-snapshot",
"testFabricVersion": "1.4.6",
"testFabricThirdParty": "0.4.16",
"main": "index.js",
"repository": {
"type": "git",
"url": "https://github.com/hyperledger/fabric-sdk-node"
},
"homepage": "https://www.hyperledger.org/projects/fabric",
"author": {
"name": "hyperledger/fabric",
"email": "fabric@lists.hyperledger.org"
},
"scripts": {
"test": "run-s checkLicense cleanUp dockerClean compile copyFabricClient lint docs unitTest:all dockerReady tapeIntegration cucumberScenario",
"testNoHSM": "run-s checkLicense cleanUp dockerClean compile copyFabricClient lint docs unitTest:allNoHSM dockerReady tapeIntegrationNoHSM cucumberScenario",
"checkLicense": "./scripts/npm_scripts/checkLicense.sh",
"cleanUp": "node -e 'require(\"./scripts/npm_scripts/testFunctions.js\").cleanUp()'",
"dockerClean": "./scripts/npm_scripts/dockerClean.sh",
"compile": "tsc --project test/typescript",
"lint": "run-s eslint tslint",
"eslint": "eslint fabric-network/ fabric-client/ fabric-ca-client/lib/ fabric-common/ test/",
"tslint": "tslint -t prose -p fabric-client/types/tsconfig.json 'fabric-client/**/*.ts' && tslint -t prose 'test/**/*.ts' && tslint -t prose -p fabric-network/types/tsconfig.json 'fabric-network/**/*.ts' ",
"docs": "node -e 'require(\"./scripts/npm_scripts/testFunctions.js\").cleanUpDocs()' && jsdoc -r -c docs/jsdoc.json -t ./node_modules/ink-docstrap/template",
"copyFabricClient": "node -e 'require(\"./scripts/npm_scripts/testFunctions.js\").copyFabricClient()'",
"unitTest:all": "export HFC_LOGGING='{\"debug\":\"test/temp/debug.log\"}' && nyc run-s unitTest:ca-client unitTest:client unitTest:network unitTest:tape",
"unitTest:allNoHSM": "export HFC_LOGGING='{\"debug\":\"test/temp/debug.log\"}' && nyc --check-coverage --statements 85 --branches 81 --functions 91 --lines 85 run-s unitTest:ca-client unitTest:client unitTest:network unitTest:tapeNoHSM",
"unitTest:ca-client": "mocha --reporter 'list' 'fabric-ca-client/test/**/*.js'",
"unitTest:client": "mocha --reporter 'list' --exclude 'fabric-client/test/data/**' --timeout 10000 'fabric-client/test/**/*.js'",
"unitTest:network": "mocha --reporter 'list' --timeout 10000 'fabric-network/test/**/*.js'",
"unitTest:tape": "./scripts/npm_scripts/runTapeUnit.sh",
"unitTest:tapeNoHSM": "./scripts/npm_scripts/runTapeUnit.sh noHSM",
"dockerReady": "npm run dockerClean && node -e 'require(\"./scripts/npm_scripts/dockerReady.js\").dockerReady()'",
"tapeIntegration": "nyc --check-coverage --statements 73 --branches 57 --functions 72 --lines 73 ./scripts/npm_scripts/runTape.sh",
"tapeIntegrationNoHSM": "./scripts/npm_scripts/runTape.sh noHSM",
"cucumberScenario": "npm run setupCucumbers && export HFC_LOGGING='{\"debug\":\"test/temp/debugc.log\"}' && nyc --check-coverage --statements 55 --branches 41 --functions 57 --lines 55 npm run test:cucumber",
"setupCucumbers": "node -e 'require(\"./scripts/npm_scripts/testFunctions.js\").createCucumberLogFile()'",
"test:cucumber": "cucumber-js ./test/scenario/features/*.feature",
"testHeadless": "run-s cleanUp compile copyFabricClient lint unitTest:allNoHSM",
"tapeAndCucumber": "run-s tapeIntegration dockerClean cucumberScenario"
},
"devDependencies": {
"@ampretia/x509": "0.4.7",
"@cloudant/cloudant": "^2.1.0",
"bn.js": "^4.11.8",
"bunyan": "^1.8.10",
"chai": "^4.1.2",
"chai-as-promised": "^7.1.1",
"cucumber": "5.0.1",
"elliptic": "^6.5.2",
"eslint": "^6.8.0",
"fabric-ca-client": "file:./fabric-ca-client",
"fabric-client": "file:./fabric-client",
"fabric-common": "file:./fabric-common",
"fabric-network": "file:./fabric-network",
"fs-extra": "^8.1.0",
"heapdump": "^0.3.9",
"ink-docstrap": "^1.3.2",
"intercept-stdout": "^0.1.2",
"jsdoc": "^3.6.3",
"jsrsasign": "^7.2.2",
"log4js": "^6.1.1",
"mocha": "^5.2.0",
"mock-couch": "git+https://github.com/jimthematrix/mock-couch.git",
"nano": "^6.4.4",
"npm-run-all": "^4.1.5",
"nyc": "^15.0.0",
"proxyquire": "^2.1.0",
"rewire": "^4.0.1",
"rimraf": "2.6.2",
"sinon": "^6.3.5",
"sinon-chai": "^3.4.0",
"tap-colorize": "^1.2.0",
"tape": "^4.13.0",
"tape-promise": "^3.0.0",
"targz": "^1.0.1",
"tslint": "^5.11.0",
"typescript": "^3.7.5",
"winston": "^2.4.0"
},
"nyc": {
"check-coverage": true,
"statements": 88,
"branches": 85,
"functions": 94,
"lines": 88,
"include": [
"fabric-ca-client/lib/FabricCAClientImpl.js",
"fabric-ca-client/lib/helper.js",
"fabric-ca-client/lib/IdentityService.js",
"fabric-ca-client/lib/AffiliationService.js",
"fabric-client/lib/**/*.js",
"fabric-common/lib/**/*.js",
"fabric-network/lib/**/*.js"
],
"reporter": [
"lcov",
"json",
"text",
"text-summary",
"cobertura"
],
"cache": true
},
"license": "Apache-2.0",
"licenses": [
{
"type": "Apache-2.0",
"url": "https://github.com/hyperledger/fabric/blob/master/LICENSE"
}
]
}