-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
116 lines (116 loc) · 3.37 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
115
116
{
"_from": "fabric-shim@^2.0.0",
"_id": "fabric-shim@2.0.0",
"_inBundle": false,
"_integrity": "sha512-zLH+JjOZVJyHeSAKdnuyx5tH6/y1yl+A8xWot7ofkeGVlKVhtwGMw7pSyO8vLJNZeICt8X5wtm9aetUY+8tTCA==",
"_location": "/fabric-shim",
"_phantomChildren": {},
"_requested": {
"type": "range",
"registry": true,
"raw": "fabric-shim@^2.0.0",
"name": "fabric-shim",
"escapedName": "fabric-shim",
"rawSpec": "^2.0.0",
"saveSpec": null,
"fetchSpec": "^2.0.0"
},
"_requiredBy": [
"/"
],
"_resolved": "https://registry.npmjs.org/fabric-shim/-/fabric-shim-2.0.0.tgz",
"_shasum": "76593b2fb6384c0a694e7fd8a8214c035d772532",
"_spec": "fabric-shim@^2.0.0",
"_where": "/home/gianma/HyperledgerFabric/test-samples/chaincode/bacheca/richiesta",
"bin": {
"fabric-chaincode-node": "cli.js"
},
"bugs": {
"url": "https://github.com/hyperledger/fabric-chaincode-node/issues"
},
"bundleDependencies": false,
"dependencies": {
"@fidm/x509": "^1.2.1",
"@grpc/proto-loader": "^0.5.1",
"@types/node": "^8.9.4",
"ajv": "^6.5.5",
"fabric-contract-api": "2.0.0",
"fabric-shim-api": "2.0.0",
"fs-extra": "8.1.0",
"grpc": "^1.23.3",
"reflect-metadata": "^0.1.12",
"winston": "^3.2.1",
"yargs": "^13.3.0 ",
"yargs-parser": "^13.1.1"
},
"deprecated": false,
"description": "A node.js implementation of Hyperledger Fabric chaincode shim, to allow endorsing peers and user-provided chaincodes to communicate with each other",
"devDependencies": {
"azure-mocha-reporter": "1.0.0",
"chai": "^4.1.1",
"chai-as-promised": "^7.1.1",
"chai-things": "^0.2.0",
"cpx": "^1.5.0",
"eslint": "6.6.0",
"mocha": "6.2.2",
"mockery": "^2.1.0",
"nyc": "14.1.1",
"rewire": "4.0.1",
"rimraf": "^3.0.0",
"sinon": "7.5.0"
},
"engines": {
"node": "10.15.2",
"npm": "^6.4.1"
},
"homepage": "https://github.com/hyperledger/fabric-chaincode-node#readme",
"keywords": [
"fabric-shim",
"Hyperledger Fabric",
"Fabric Shim"
],
"license": "Apache-2.0",
"main": "index.js",
"name": "fabric-shim",
"nyc": {
"exclude": [
"coverage/**",
"test/**",
"gulpfile.js",
"bundle.js"
],
"reporter": [
"text-summary",
"cobertura",
"html"
],
"all": true,
"check-coverage": true,
"statements": 100,
"branches": 100,
"functions": 100,
"lines": 100
},
"repository": {
"type": "git",
"url": "git+https://github.com/hyperledger/fabric-chaincode-node.git"
},
"scripts": {
"build": "npm run lint & npm test 2>&1",
"compile": "tsc --project test/typescript",
"lint": "eslint ./lib",
"start": "./startup.sh",
"test": "nyc mocha --recursive 'test/unit/**/*.js' --reporter azure-mocha-reporter",
"update": "npm run update:clean && npm run update:copy && npm run update:pbjs && npm run update:pbts",
"update:clean": "rimraf bundle.js bundle.d.ts protos && mkdirp protos",
"update:copy": "cpx \"${GOPATH}/src/github.com/hyperledger/fabric-protos/**/*.proto\" protos --verbose",
"update:pbjs": "pbjs -t static-module -p google-protos -p protos $(find google-protos protos -name \"*.proto\" -type f) -o bundle.js",
"update:pbts": "pbts -o bundle.d.ts bundle.js"
},
"tag": "latest",
"types": "./types/index.d.ts",
"version": "2.0.0",
"yargs": {
"dot-notation": false
}
}