-
Notifications
You must be signed in to change notification settings - Fork 21
/
package.json
125 lines (125 loc) · 3.74 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
117
118
119
120
121
122
123
124
125
{
"name": "web3js-quorum",
"version": "22.4.0",
"description": "Web3 JS Quorum - JSON-RPC API",
"main": "src/index.js",
"types": "./src/typescript/index.d.ts",
"scripts": {
"test": "npm run test:unit && npm run test:mock && npm run test:integration && npm run test:onchain",
"test:unit": "jest src",
"test:mock": "jest ./tests",
"test:quorum": "jest integration-tests/quorum-privacy/*.test.js --runInBand",
"pretest:integration": "PRIVACY_FLEXIBLE_GROUPS_ENABLED=false npm run network:up",
"test:integration": "jest integration-tests/*.test.js --runInBand",
"posttest:integration": "npm run network:down",
"cover": "npm run cover:unit && npm run cover:mock && npm run cover:integration && npm run cover:onchain && npm run cover:report",
"cover:unit": "npm run test:unit -- --coverage",
"cover:mock": "npm run test:mock -- --coverage",
"cover:integration": "npm run test:integration -- --coverage",
"cover:onchain": "npm run test:onchain -- --coverage",
"cover:report": "nyc report --reporter=lcov --reporter=text",
"pretest:onchain": "PRIVACY_FLEXIBLE_GROUPS_ENABLED=true npm run network:up",
"test:onchain": "jest integration-tests/onchainPrivacy/*.test.js",
"posttest:onchain": "npm run network:down",
"network:up": "node ./integration-tests/support/after.js && node ./integration-tests/support/before.js",
"network:down": "node ./integration-tests/support/after.js",
"lint": "eslint .",
"lint:fix": "eslint . --fix",
"generate:doc": "node_modules/.bin/jsdoc --configure jsdoc.json --verbose"
},
"jest": {
"testTimeout": 60000,
"coverageThreshold": {
"global": {
"statements": 85,
"branches": 85,
"functions": 85,
"lines": 85
}
},
"testEnvironment": "node",
"clearMocks": true,
"collectCoverageFrom": [
"src/*/**/*.js",
"!src/solidity/*"
],
"modulePathIgnorePatterns": [
"<rootDir>/dist/",
"<rootDir>/node_modules/"
],
"testRegex": "(/__tests__/.*|(\\.|/)(test|spec))\\.(jsx?|tsx?)$",
"moduleFileExtensions": [
"ts",
"js",
"json",
"node"
]
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"lint-staged": {
"*.js": [
"eslint . --fix",
"git add"
]
},
"repository": {
"type": "git",
"url": "git+https://github.com/ConsenSysQuorum/web3js-quorum.git"
},
"keywords": [
"web3",
"besu",
"eea",
"orion",
"quorum",
"tessera",
"constellation"
],
"author": "ConsenSys <quorum@consensys.net>",
"license": "Apache-2.0",
"bugs": {
"url": "https://github.com/ConsenSysQuorum/web3js-quorum/issues"
},
"homepage": "https://github.com/ConsenSysQuorum/web3js-quorum#readme",
"dependencies": {
"ethereumjs-tx": "^2.1.2",
"ethereumjs-util": "6.2.1",
"lodash": "^4.17.21",
"request-promise-native": "^1.0.9",
"rlp": "2.2.7"
},
"devDependencies": {
"async-promise-pool": "^1.0.3",
"axios": "^0.21.4",
"babel-eslint": "^10.1.0",
"docdash": "^1.2.0",
"eslint": "^7.23.0",
"eslint-config-airbnb-base": "^14.2.1",
"eslint-config-prettier": "^8.1.0",
"eslint-plugin-chai-expect": "^2.2.0",
"eslint-plugin-import": "^2.22.1",
"eslint-plugin-jest": "^24.3.5",
"eslint-plugin-prettier": "^3.3.1",
"eslint-plugin-promise": "^4.3.1",
"form-data": "^4.0.0",
"husky": "^6.0.0",
"jest": "^26.6.3",
"jsdoc": "^3.6.10",
"lint-staged": "^10.5.4",
"minimist": "^1.2.5",
"nock": "^13.0.11",
"nyc": "^15.1.0",
"prettier": "^2.2.1",
"wait-for-expect": "^3.0.2",
"web3": "^1.5.2",
"web3-providers-http": "^1.6.1",
"web3-utils": "^1.7.0"
},
"peerDependencies": {
"web3": "^1.x"
}
}