forked from sundarrajan-mugunthan/fabric-logger
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
54 lines (54 loc) · 1.86 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
{
"name": "fabric-logger",
"version": "1.2.1",
"description": "Hyperledger Fabric Splunk integration",
"author": "Jeff Wu <jeffreywu@splunk.com>",
"main": "dist/index.js",
"license": "Apache-2.0",
"scripts": {
"build": "yarn build:clean && yarn generate && yarn tsc --outDir dist",
"build:clean": "rm -rf dist",
"start": "yarn generate && tsnd src/main.ts",
"lint": "eslint src --ext .ts",
"test": "jest --config jest.config.json",
"generate": "yarn generate:cleanup && mkdir -p generated && yarn generate:pbjs && yarn generate:pbts",
"generate:cleanup": "rm -rf generated",
"generate:pbjs": "pbjs -t static-module -w commonjs -o generated/protos.js node_modules/fabric-client/lib/protos/common/policies.proto node_modules/fabric-client/lib/protos/peer/chaincode.proto node_modules/fabric-client/lib/protos/peer/proposal.proto",
"generate:pbts": "pbts -o generated/protos.d.ts generated/protos.js"
},
"dependencies": {
"@types/debug": "^4.1.5",
"@types/express": "^4.17.1",
"@types/ini": "^1.3.30",
"@types/lodash": "^4.14.138",
"@types/splunk-logging": "^0.9.1",
"debug": "^4.1.1",
"dotenv": "^8.1.0",
"express": "^4.17.1",
"fabric-client": "^1.4.7",
"ini": "^1.3.5",
"lodash": "^4.17.15",
"protobufjs": "~6.8.8",
"splunk-logging": "^0.10.1",
"typescript": "~3.5"
},
"devDependencies": {
"@types/jest": "^24.0.18",
"@typescript-eslint/eslint-plugin": "^2.0.0",
"@typescript-eslint/parser": "^2.0.0",
"eslint": "^6.2.2",
"eslint-config-prettier": "^6.1.0",
"eslint-plugin-prettier": "^3.1.0",
"husky": "^3.0.4",
"jest": "^24.9.0",
"prettier": "^1.18.2",
"pretty-quick": "^1.11.1",
"ts-jest": "^24.0.2",
"ts-node-dev": "^1.0.0-pre.42"
},
"husky": {
"hooks": {
"pre-commit": "pretty-quick --staged --pattern && yarn lint"
}
}
}