-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
71 lines (71 loc) · 3.07 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
{
"name": "BProtocol",
"version": "1.0.0",
"description": "Backstop Liquidity Protocol",
"dependencies": {
"@taquito/taquito": "^6.0.3-beta.0",
"@types/shelljs": "^0.8.8",
"promise-retry": "^1.1.1"
},
"devDependencies": {
"@nomiclabs/hardhat-ethers": "^2.0.1",
"@nomiclabs/hardhat-truffle5": "^2.0.0",
"@nomiclabs/hardhat-waffle": "^2.0.1",
"@nomiclabs/hardhat-web3": "^2.0.0",
"@openzeppelin/contracts": "^2.5.1",
"@openzeppelin/test-helpers": "^0.5.9",
"@typechain/truffle-v5": "^2.0.2",
"@typechain/web3-v1": "^1.0.0",
"@types/bn.js": "^4.11.6",
"@types/chai": "^4.2.14",
"@types/mocha": "^8.2.0",
"@types/node": "^14.14.14",
"@types/web3": "^1.2.2",
"chai": "^4.2.0",
"chai-bn": "^0.2.1",
"eslint": "^7.16.0",
"eslint-config-prettier": "^6.15.0",
"ethereum-waffle": "^3.2.1",
"ethers": "^5.0.31",
"ethlint": "^1.2.5",
"ganache-cli": "^6.12.2",
"hardhat": "^2.0.6",
"hardhat-typechain": "^0.3.4",
"mocha": "^7.2.0",
"prettier": "^2.2.1",
"shelljs": "^0.8.4",
"solc": "^0.5.16",
"solidity-coverage": "^0.7.15",
"truffle": "^5.2.2",
"truffle-typings": "^1.0.8",
"ts-generator": "^0.1.1",
"ts-node": "^8.10.2",
"tsconfig-paths": "^3.9.0",
"typechain": "^3.0.0",
"typescript": "4.1.5",
"web3": "1.2.1",
"web3-utils": "1.3.1"
},
"scripts": {
"deploy-compound": "cd compound-protocol && PROVIDER='http://localhost:8545/' yarn run repl -s script/scen/scriptFlywheel.scen",
"postinstall": "git submodule update --init --recursive && cd compound-protocol && yarn && cd scenario && yarn",
"compile": "hardhat compile",
"ganache": "ganache-cli --gasLimit 20000000 --gasPrice 20000 --defaultBalanceEther 1000000000 --allowUnlimitedContractSize true",
"test": "hardhat test",
"clean": "rimraf build && rimraf types && rimraf cache && rimraf artifacts",
"build": "npm run compile && npm run gen-typings",
"build-all": "npm run clean && npm run build-compound && npm run build",
"compile-compound": "truffle compile --contracts_directory compound-protocol/tests",
"clean-snapshot": "rimraf snapshot/coverage && rimraf snapshot/compound && rimraf snapshot/bcompound",
"unzip-snapshot": "cd snapshot && unzip -q $FILE.zip",
"copy-coverage-files": "cp coverage-config/development.json ./compound-protocol/networks/",
"exec-coverage": "node --max-old-space-size=4096 ./node_modules/.bin/truffle run coverage --network coverage",
"coverage": "FILE=coverage npm run clean-snapshot && npm run unzip-snapshot && npm run copy-coverage-files && npm run exec-coverage",
"load-snapshot": "echo $FILE && npm run clean-snapshot && npm run unzip-snapshot && npm run start-ganache",
"start-ganache": "echo $FILE && npx ganache-cli -l 1250000000000 --allowUnlimitedContractSize -a 20 -e 100000000000000 -m 'bonus patient judge normal delay supreme sentence confirm fox desk cool estate' --db './snapshot/'$FILE"
},
"repository": {
"type": "git",
"url": "git+https://github.com/backstop-protocol/compound-demo.git"
}
}