-
Notifications
You must be signed in to change notification settings - Fork 108
/
package.json
123 lines (123 loc) · 5.1 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
{
"name": "reserve-protocol",
"version": "1.0.0",
"description": "Reserve Mainnet Protocol",
"directories": {
"test": "tests"
},
"engines": {
"node": ">=16.13.0"
},
"scripts": {
"compile": "hardhat compile",
"devchain": "NODE_OPTIONS='--max-old-space-size=12000' FORK=true hardhat node --port 8546",
"deploy:check_env": "hardhat run scripts/check_env.ts",
"deploy:run": "hardhat run scripts/deploy.ts",
"deploy:confirm": "hardhat run scripts/confirm.ts",
"deploy:verify_etherscan": "hardhat run scripts/verify_etherscan.ts",
"whales": "npx hardhat run scripts/refresh-whales.ts",
"test:extreme": "EXTREME=1 PROTO_IMPL=1 npx hardhat test test/{Broker,Furnace,RTokenExtremes,ZTradingExtremes,ZZStRSR}.test.ts",
"test:extreme:integration": "FORK=1 EXTREME=1 PROTO_IMPL=1 npx hardhat test test/integration/**/*.test.ts",
"test:unit": "yarn test:plugins && yarn test:p0 && yarn test:p1",
"test:fast": "bash tools/fast-test.sh",
"test:p0": "PROTO_IMPL=0 hardhat test test/*.test.ts",
"test:p1": "PROTO_IMPL=1 hardhat test test/*.test.ts ",
"test:plugins": "hardhat test test/{libraries,plugins}/*.test.ts",
"test:plugins:integration": "PROTO_IMPL=1 FORK=1 hardhat test test/plugins/individual-collateral/**/*.test.ts",
"test:integration": "PROTO_IMPL=1 FORK=1 hardhat test test/integration/**/*.test.ts",
"test:scenario": "PROTO_IMPL=1 hardhat test test/scenario/*.test.ts",
"test:gas": "yarn test:gas:protocol && yarn test:gas:collateral",
"test:gas:protocol": "REPORT_GAS=1 PROTO_IMPL=1 hardhat test test/{libraries,plugins,scenario}/*.test.ts test/*.test.ts",
"test:gas:collateral": "FORK=1 REPORT_GAS=1 PROTO_IMPL=1 hardhat test test/plugins/individual-collateral/**/*.test.ts",
"test:coverage": "PROTO_IMPL=1 hardhat coverage --testfiles 'test/{libraries,plugins,scenario}/*.test.ts test/*.test.ts'",
"test:unit:coverage": "PROTO_IMPL=1 SLOW= hardhat coverage --testfiles 'test/*.test.ts test/libraries/*.test.ts test/plugins/*.test.ts'",
"eslint": "eslint test/",
"lint": "bash tools/lint && eslint test/",
"prettier": "prettier --ignore-path .gitignore --loglevel warn --write \"./**/*.{js,ts,sol,json,md}\"",
"size": "hardhat size-contracts",
"slither": "python3 tools/slither.py --exclude-informational --exclude-low --exclude-optimization --exclude uninitialized-state-variables --fail-high",
"prepare": "husky install",
"run:backtests": "hardhat run scripts/ci_backtest_plugin.ts",
"run:4byte": "hardhat run scripts/4byte.ts"
},
"repository": {
"type": "git",
"url": "git+https://github.com/reserve-protocol/protocol.git"
},
"author": "Reserve Team",
"license": "BlueOak-1.0.0",
"bugs": {
"url": "https://github.com/reserve-protocol/protocol/issues"
},
"homepage": "https://github.com/reserve-protocol/protocol#readme",
"devDependencies": {
"@aave/protocol-v2": "^1.0.1",
"@chainlink/contracts": "^0.5.1",
"@ethersproject/providers": "^5.7.2",
"@nomicfoundation/hardhat-chai-matchers": "^1.0.6",
"@nomicfoundation/hardhat-network-helpers": "^1.0.8",
"@nomicfoundation/hardhat-toolbox": "^2.0.1",
"@nomiclabs/hardhat-ethers": "^2.2.3",
"@nomiclabs/hardhat-etherscan": "^3.1.0",
"@openzeppelin/contracts": "4.9.6",
"@openzeppelin/contracts-upgradeable": "4.9.6",
"@openzeppelin/hardhat-upgrades": "^1.23.0",
"@tenderly/hardhat-tenderly": "^1.7.7",
"@typechain/ethers-v5": "^7.2.0",
"@typechain/hardhat": "^2.3.1",
"@types/chai": "^4.3.0",
"@types/lodash": "^4.14.177",
"@types/mocha": "^9.0.0",
"@types/node": "^12.20.37",
"@typescript-eslint/eslint-plugin": "5.17.0",
"@typescript-eslint/parser": "5.17.0",
"axios": "^1.6.8",
"bignumber.js": "^9.1.1",
"caip": "^1.1.0",
"chai": "^4.3.4",
"decimal.js": "^10.4.3",
"dotenv": "^16.0.0",
"eslint": "8.14.0",
"eslint-config-prettier": "8.5.0",
"eslint-config-standard": "16.0.3",
"eslint-plugin-import": "2.25.4",
"eslint-plugin-node": "11.1.0",
"eslint-plugin-prettier": "4.0.0",
"eslint-plugin-promise": "6.0.0",
"eth-permit": "^0.2.1",
"ethers": "^5.7.2",
"fast-check": "^2.24.0",
"graphql": "^16.6.0",
"graphql-request": "^5.2.0",
"hardhat": "^2.12.3",
"hardhat-contract-sizer": "^2.4.0",
"hardhat-gas-reporter": "^1.0.8",
"husky": "^7.0.0",
"lodash": "^4.17.21",
"lodash.get": "^4.4.2",
"mocha-chai-jest-snapshot": "^1.1.3",
"prettier": "2.5.1",
"prettier-plugin-solidity": "1.0.0-beta.13",
"solhint": "3.3.6",
"solhint-plugin-prettier": "0.0.5",
"solidity-coverage": "^0.8.2",
"ts-node": "^10.4.0",
"tsconfig-paths": "^4.1.0",
"typechain": "^5.2.0",
"typescript": "^4.4.2",
"wretch": "^2.0.4"
},
"resolutions": {
"@solidity-parser/parser": "^0.13.2"
},
"packageManager": "[email protected]",
"dependencies": {
"@aave/core-v3": "^1.18.0",
"@aave/periphery-v3": "^2.5.0",
"@nomicfoundation/hardhat-toolbox": "^2.0.1",
"@types/isomorphic-fetch": "^0.0.36",
"axios-retry": "^4.1.0",
"cheerio": "^1.0.0-rc.12",
"isomorphic-fetch": "^3.0.0"
}
}