forked from BendDAO/bend-lending-protocol
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
111 lines (111 loc) · 5.43 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
{
"name": "nft-as-collateral",
"version": "1.0.2",
"description": "nft as collateral",
"files": [
"contracts",
"artifacts"
],
"scripts": {
"run-env": "yarn && tail -f /dev/null",
"hardhat": "hardhat",
"hardhat:node": "hardhat node",
"hardhat:localhost": "hardhat --network localhost",
"hardhat:develop": "hardhat --network develop",
"hardhat:rinkeby": "hardhat --network rinkeby",
"hardhat:arbRinkeby": "hardhat --network arbRinkeby",
"hardhat:kovan": "hardhat --network kovan",
"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:check": "npx prettier -c 'tasks/**/*.ts' 'contracts/**/*.sol' 'helpers/**/*.ts' 'test/**/*.ts'",
"prettier:write": "prettier --write 'tasks/**/*.ts' 'contracts/**/*.sol' 'helpers/**/*.ts' 'test/**/*.ts'",
"ci:test": "npm run compile && npm run test",
"ci:clean": "hardhat clean && rm -rf ./artifacts ./cache ./types",
"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",
"kovan:verify": "npm run hardhat:kovan verify:general -- --all --pool Bend",
"kovan:verify:reserves": "npm run hardhat:kovan verify:reserves -- --pool Bend",
"kovan:print-contracts": "npm run hardhat:kovan -- print-contracts",
"kovan:print-config": "hardhat --network kovan 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": {
"@arbitrum/sdk": "^2.0.5",
"@chainlink/contracts": "^0.2.2",
"@nomiclabs/hardhat-ethers": "^2.0.0",
"@nomiclabs/hardhat-etherscan": "^2.0.2",
"@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",
"arb-bridge-eth": "^0.7.8",
"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"
}
}