-
Notifications
You must be signed in to change notification settings - Fork 54
/
Copy pathpackage.json
132 lines (132 loc) · 6.71 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
126
127
128
129
130
131
132
{
"name": "@benddao/bend-lending-protocol",
"version": "1.0.11",
"description": "BendDAO Lending Protocol smart contracts",
"files": [
"abis",
"markets",
"contracts",
"artifacts",
"types"
],
"homepage": "https://www.benddao.xyz/",
"bugs": "https://github.com/BendDAO/bend-lending-protocol/issues",
"repository": {
"type": "git",
"url": "https://github.com/BendDAO/bend-lending-protocol.git"
},
"publishConfig": {
"access": "public",
"registry": "https://registry.npmjs.org"
},
"scripts": {
"run-env": "yarn && tail -f /dev/null",
"hardhat": "hardhat",
"hardhat:node": "hardhat node",
"hardhat:localhost": "hardhat --network localhost",
"hardhat:sepolia": "hardhat --network sepolia",
"hardhat:goerli": "hardhat --network goerli",
"hardhat:rinkeby": "hardhat --network rinkeby",
"hardhat:main": "hardhat --network main",
"size": "npm run compile && npm run hardhat size-contracts",
"compile": "SKIP_LOAD=true hardhat compile",
"test": "npm run compile && TS_NODE_TRANSPILE_ONLY=1 hardhat test ./test/*.spec.ts",
"test:localhost": "npm run compile && TS_NODE_TRANSPILE_ONLY=1 npm run hardhat:localhost test ./test/*.spec.ts",
"test:file": "npm run compile && TS_NODE_TRANSPILE_ONLY=1 hardhat test ./test/__setup.spec.ts ./test/${TEST_FILE}",
"test:subgraph:localhost": "npm run compile && npm run hardhat:localhost test ./test/__setup.spec.ts ./test/subgraph-scenarios.spec.ts",
"dev:coverage": ". ./setup-test-env.sh && COVERAGE=true npx hardhat coverage --temp temp-artifacts --testfiles test/emptyrun.coverage.ts && rm -rf coverage.json coverage/ && COVERAGE=true npx hardhat coverage --temp temp-artifacts --testfiles 'test/*.spec.ts'",
"dev:update-abis": "npm run compile && node ./scripts/updateAbis && npm run prettier:abis",
"dev:export-storage-layout": "npm run compile && hardhat export-storage-layout",
"dev:storage-layout-compare": "npm run compile && hardhat storage-layout-compare --a ${CONTRACT_NAME_A} --b ${CONTRACT_NAME_B} --a-ref ${CONTRACT_REF_A} --b-ref ${CONTRACT_REF_B}",
"dev:export-storage-check": "npm run compile && hardhat storage-layout-check --source ${CONTRACT_LAYOUT_JSON} --b ${CONTRACT_NAME}",
"prettier:abis": "prettier --write 'abis/**/*.json'",
"prettier:code": "prettier --write 'tasks/**/*.ts' 'contracts/**/*.sol' 'helpers/**/*.ts' 'test/**/*.ts' 'test/**/*.sol'",
"ci:test": "npm run compile && npm run test",
"ci:clean": "hardhat clean && rm -rf ./artifacts ./cache ./cache_forge ./out ./types",
"bend:hardhat:dev:migration": "npm run compile && npm run hardhat -- bend:dev",
"bend:localhost:dev:migration": "npm run compile && npm run hardhat:localhost -- bend:dev",
"bend:localhost:full:migration": "npm run compile && npm run hardhat:localhost -- bend:mainnet",
"bend:develop:full:migration": "npm run compile && npm run hardhat:develop -- bend:mainnet",
"bend:rinkeby:full:migration": "npm run compile && npm run hardhat:rinkeby -- bend:mainnet",
"bend:goerli:full:migration": "npm run compile && npm run hardhat:goerli -- bend:mainnet",
"bend:sepolia:full:migration": "npm run compile && npm run hardhat:sepolia -- bend:mainnet",
"bend:main:full:migration": "npm run compile && npm run hardhat:main -- bend:mainnet --verify",
"develop:verify": "npm run hardhat:develop verify:general -- --all --pool Bend",
"develop:verify:reserves": "npm run hardhat:develop verify:reserves -- --pool Bend",
"develop:print-contracts": "npm run hardhat:develop -- print-contracts",
"develop:print-config": "hardhat --network develop print-config --pool Bend",
"rinkeby:verify": "npm run hardhat:rinkeby verify:general -- --all --pool Bend",
"rinkeby:verify:reserves": "npm run hardhat:rinkeby verify:reserves -- --pool Bend",
"rinkeby:print-contracts": "npm run hardhat:rinkeby -- print-contracts",
"rinkeby:print-config": "hardhat --network rinkeby print-config --pool Bend",
"goerli:verify": "npm run hardhat:goerli verify:general -- --all --pool Bend",
"goerli:verify:reserves": "npm run hardhat:goerli verify:reserves -- --pool Bend",
"goerli:print-contracts": "npm run hardhat:goerli -- print-contracts",
"goerli:print-config": "hardhat --network goerli print-config --pool Bend",
"sepolia:verify": "npm run hardhat:sepolia verify:general -- --all --pool Bend",
"sepolia:verify:reserves": "npm run hardhat:sepolia verify:reserves -- --pool Bend",
"sepolia:print-contracts": "npm run hardhat:sepolia -- print-contracts",
"sepolia:print-config": "hardhat --network sepolia print-config --pool Bend",
"main:verify": "npm run hardhat:main verify:general -- --all --pool Bend",
"main:verify:reserves": "npm run hardhat:main verify:reserves -- --pool Bend",
"main:print-contracts": "npm run hardhat:main -- print-contracts",
"main:print-config": "hardhat --network main print-config --pool Bend",
"prepublishOnly": "npm run compile"
},
"devDependencies": {
"@chainlink/contracts": "^0.2.2",
"@nomiclabs/hardhat-ethers": "^2.0.0",
"@nomiclabs/hardhat-etherscan": "^3.0.4",
"@nomiclabs/hardhat-waffle": "^2.0.0",
"@openzeppelin/contracts": "^4.3.3",
"@openzeppelin/contracts-upgradeable": "^4.3.3",
"@openzeppelin/test-helpers": "^0.5.15",
"@typechain/ethers-v5": "^2.0.0",
"@typechain/hardhat": "^1.0.1",
"@typechain/truffle-v5": "^2.0.2",
"@typechain/web3-v1": "^4.0.0",
"@types/chai": "^4.2.11",
"@types/lowdb": "^1.0.9",
"@types/mocha": "^7.0.2",
"@types/node": "^14.0.5",
"bignumber.js": "^9.0.0",
"chai": "^4.2.0",
"chai-bignumber": "^3.0.0",
"chai-bn": "^0.2.1",
"defender-relay-client": "^1.7.0",
"dotenv": "^8.2.0",
"eth-sig-util": "2.5.3",
"ethereum-waffle": "^3.2.0",
"ethereumjs-util": "^7.0.0",
"ethers": "^5.0.19",
"globby": "^11.0.1",
"hardhat": "^2.2.0",
"hardhat-contract-sizer": "^2.0.3",
"hardhat-dependency-compiler": "^1.1.2",
"hardhat-gas-reporter": "^1.0.0",
"hardhat-storage-layout-diff": "^0.0.4",
"hardhat-typechain": "^0.3.3",
"husky": "^4.2.5",
"lowdb": "^1.0.0",
"prettier": "^2.0.5",
"prettier-plugin-solidity": "^1.0.0-alpha.53",
"pretty-quick": "^2.0.1",
"solidity-coverage": "^0.7.17",
"tmp-promise": "^3.0.2",
"ts-generator": "^0.1.1",
"ts-node": "^8.10.2",
"tslint": "^6.1.2",
"tslint-config-prettier": "^1.18.0",
"tslint-plugin-prettier": "^2.3.0",
"typechain": "^4.0.0",
"typescript": "^4.0.5"
},
"husky": {
"hooks": {
"pre-commit": "pretty-quick --staged --pattern 'contracts/**/*.sol' --pattern 'helpers/**/*.ts' --pattern 'test/**/*.ts' --pattern 'tasks/**/*.ts'"
}
},
"dependencies": {
"global-agent": "^3.0.0"
}
}