forked from hyperledger-labs/blockchain-explorer
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
132 lines (132 loc) · 3.92 KB
/
package.json
File metadata and controls
132 lines (132 loc) · 3.92 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
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
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
{
"name": "hyperledger-explorer",
"version": "1.1.4",
"description": "hyperledger-explorer",
"private": true,
"main": "main.js",
"keywords": [
"fabric nodesdk"
],
"dependencies": {
"ajv": "^5.5.2",
"app-root-path": "^2.0.1",
"asn1.js": "^5.0.1",
"bcrypt": "^5.0.0",
"body-parser": "^1.17.2",
"child_process": "^1.0.2",
"classnames": "^2.2.6",
"co": "^4.6.0",
"compression": "^1.7.2",
"convert-hex": "^0.1.0",
"ejs": "^2.5.6",
"enum": "^2.5.0",
"express": "^4.15.3",
"express-rate-limit": "^5.0.0",
"fabric-ca-client": "^2.2.4",
"fabric-network": "^2.2.4",
"fast-stats": "0.0.3",
"fs-extra": "^6.0.1",
"grpc": "^1.20.3",
"helmet": "^3.21.1",
"http-status-codes": "^1.3.0",
"js-sha256": "^0.9.0",
"jsonwebtoken": "^8.5.0",
"log4js": "^6.1.0",
"multer": "^1.3.0",
"npm-run-all": "^4.1.5",
"passport": "^0.4.0",
"passport-local": "^1.0.0",
"pg": "^7.12.1",
"pg-pool": "^2.0.7",
"prettyjson": "^1.2.1",
"prop-types": "^15.6.2",
"query-string": "^6.9.0",
"save": "^2.3.3",
"sequelize": "^6.3.3",
"stomp-broker-js": "^0.1.3",
"stompjs": "^2.3.3",
"swagger-ui-express": "^4.0.5",
"utf8-bytes": "0.0.1",
"winston": "^2.2.0",
"ws": "^5.1.1",
"yn": "^4.0.0"
},
"license": "Apache-2.0",
"devDependencies": {
"@istanbuljs/nyc-config-typescript": "^1.0.1",
"@types/chai": "^4.2.14",
"@types/chai-as-promised": "^7.1.3",
"@types/express": "^4.17.8",
"@types/express-serve-static-core": "^4.17.13",
"@types/fs-extra": "^9.0.1",
"@types/jsonwebtoken": "^8.5.0",
"@types/log4js": "^2.3.5",
"@types/mocha": "^8.0.4",
"@types/node": "^14.10.0",
"@types/passport": "^1.0.4",
"@types/passport-local": "^1.0.33",
"@types/pg": "^7.14.5",
"@types/proxyquire": "^1.3.28",
"@types/sequelize": "^4.28.9",
"@types/sinon": "^9.0.9",
"@types/sinon-chai": "^3.2.5",
"@types/ws": "^7.2.6",
"@typescript-eslint/eslint-plugin": "^4.2.0",
"@typescript-eslint/parser": "^4.2.0",
"chai": "^4.2.0",
"chai-as-promised": "^7.1.1",
"cross-env": "^5.2.0",
"eslint-config-airbnb": "^17.0.0",
"eslint-plugin-import": "^2.13.0",
"eslint-plugin-jsx-a11y": "^6.1.0",
"eslint-plugin-no-loops": "^0.3.0",
"eslint-plugin-react": "^7.10.0",
"eslint-plugin-spellcheck": "0.0.11",
"husky": "^0.14.3",
"lint-staged": "^7.2.0",
"mocha": "^8.2.1",
"nyc": "^15.1.0",
"prettier": "^1.13.7",
"proxyquire": "^2.1.3",
"sinon": "^9.2.1",
"sinon-chai": "^3.5.0",
"ts-node": "^9.1.0",
"typescript": "^4.0.2"
},
"lint-staged": {
"**/*.{ts,js,jsx,json,css}": [
"prettier --single-quote --write",
"git add"
],
"**/*.{ts,js,jsx,css}": [
"eslint",
"git add"
]
},
"scripts": {
"build:client": "./main.sh install",
"build": "tsc",
"app-start": "./start.sh",
"app-stop": "./stop.sh",
"start": "run-s build app-start",
"docker_build": "docker build --squash -t $npm_package_name .",
"docker_push": "docker push ${DOCKER_REGISTRY}/$npm_package_name:$npm_package_version",
"docker_tag": "docker tag $npm_package_name ${DOCKER_REGISTRY}/$npm_package_name:$npm_package_version",
"lint": "eslint .",
"lint:ts": "eslint . --ext .ts",
"linter": "eslint",
"lint:fix": "eslint . --fix",
"precommit": "./scripts/verify-license.sh",
"e2e-test-build-src": "npm install; cd client; npm install; npm run build",
"e2e-api-test-v1-run": "cd app/platform/fabric/e2e-test; ./runTestSuite.sh -1",
"e2e-api-test-v2-run": "cd app/platform/fabric/e2e-test; ./runTestSuite.sh -2",
"e2e-api-test-v1": "run-s e2e-test-build-src e2e-api-test-v1-run",
"e2e-api-test-v2": "run-s e2e-test-build-src e2e-api-test-v2-run",
"e2e-gui-test-v1-run": "cd client/e2e-test; ./gui-e2e-test-start.sh -1",
"e2e-gui-test-v2-run": "cd client/e2e-test; ./gui-e2e-test-start.sh -2",
"e2e-gui-test-v1": "run-s e2e-test-build-src e2e-gui-test-v1-run",
"e2e-gui-test-v2": "run-s e2e-test-build-src e2e-gui-test-v2-run",
"test": "nyc mocha",
"test:watch": "mocha -w --reporter min"
}
}