-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathpackage.json
109 lines (109 loc) · 5.58 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
{
"name": "saving-pool-contract",
"version": "1.0.0",
"description": "Saving pool contract.",
"main": "index.js",
"scripts": {
"preinstall": "git submodule init && git submodule update && cd compound-protocol && yarn install --ignore-engines --lock-file && cd scenario && npm i && cd ../..",
"compile": "truffle compile",
"test-scriptFlywheel": "./runtests.sh scriptFlywheel",
"test-collateralFeature": "./runtests.sh scriptFlywheel 'collateralFeature*.spec.ts'",
"test-deposit": "./runtests.sh scriptFlywheel '*deposit*.spec.ts'",
"test-withdraw": "./runtests.sh scriptFlywheel '*withdraw*.spec.ts'",
"test-repay": "./runtests.sh scriptFlywheel '*repay*.spec.ts'",
"test-borrow": "./runtests.sh scriptFlywheel '*borrow*.spec.ts'",
"test-liquidate": "./runtests.sh scriptFlywheel '*liquidate*.spec.ts'",
"test-transfer": "./runtests.sh scriptFlywheel '*transfer*.spec.ts'",
"test-others": "./runtests.sh scriptFlywheel 'z_*.spec.ts'",
"test-whitePaperModel": "./runtests.sh whitePaperModel '*.spec.ts'",
"test-upgradability": "npx hardhat test test/upgradability/upgradability.proxy.ts",
"test-integration": "./runtests.sh scriptFlywheel '*integration*.spec.ts'",
"test-helper": "sh runSingleTest.sh test/helper/savingsDataHelperTests.spec.ts",
"test-all": "./runtests.sh && npx hardhat test test/upgradability/upgradability.proxy.ts && sh runSingleTest.sh test/upgradability/timelockController.spec.ts",
"generate": "npx hardhat compile && npx hardhat typechain",
"prepare": "yarn generate",
"unzip-snapshot": "cd snapshots && unzip -q $FILE.zip && cd ..",
"clean-snapshot": "rimraf snapshots/whitePaperModel && rimraf snapshots/scriptFlywheel && rimraf snapshots/coverage",
"coverage-WPM": "FILE=coverage npm run clean-snapshot && FILE=coverage npm run unzip-snapshot && npm run copy-coverage-files-WPM && npm run exec-coverage-WPM",
"copy-coverage-files-WPM": "cp snapshots/config/coverage/whitePaperModel.json ./compound-protocol/networks/development.json",
"exec-coverage-WPM": "node --max-old-space-size=4096 ./node_modules/.bin/truffle run coverage --file 'test/whitePaperModel/**/*.ts' --network coverage",
"coverage-SFW": "FILE=coverage npm run clean-snapshot && FILE=coverage npm run unzip-snapshot && npm run copy-coverage-files-SFW && npm run exec-coverage-SFW",
"copy-coverage-files-SFW": "cp snapshots/config/coverage/scriptFlywheel.json ./compound-protocol/networks/development.json",
"exec-coverage-SFW": "yarn prepare && node --max-old-space-size=4096 ./node_modules/.bin/truffle run coverage --file 'test/scriptFlywheel/**/*.ts' --network coverage",
"coverage-setup": "node_modules/.bin/testrpc-sc -p 8546 --gasLimit 0x1fffffffffffff --gasPrice 1 --defaultBalanceEther 1000000000 --allowUnlimitedContractSize true",
"lint": "npx solium -d contracts/",
"ganache": "ganache-cli --gasLimit 0x1fffffffffffff --gasPrice 20000000 --defaultBalanceEther 1000000000 --allowUnlimitedContractSize true --mnemonic “begin vessel olive rocket pink distance admit foam lizard type fault enjoy”",
"buidler-evm": "npx buidler node",
"contract-size": "truffle compile && truffle run contract-size --checkMaxSize --contracts SavingAccount Accounts Bank InitializablePausable Constant GlobalConfig AccountTokenLib BitmapLib SavingLib Utils ETHPerFIN ETHPerLPToken TokenRegistry AccountsProxy BankProxy SavingAccountProxy",
"delete-timelock-mock": "npx rimraf contracts/mocks/MockTimelockController.sol && npx rimraf test/upgradability/timelockController.spec.ts"
},
"repository": {
"type": "git",
"url": "https://github.com/DeFinerOrg/Savings.git"
},
"keywords": [
"Saving",
"Pool",
"Contract"
],
"author": "Mark Li",
"license": "ISC",
"devDependencies": {
"@chainlink/contracts": "0.0.3",
"@codechecks/client": "^0.1.10",
"@nomiclabs/buidler": "^1.4.7",
"@nomiclabs/buidler-ethers": "^2.0.0",
"@nomiclabs/buidler-waffle": "^2.0.0",
"@nomiclabs/buidler-web3": "^1.3.4",
"@nomiclabs/hardhat-ethers": "^2.0.2",
"@nomiclabs/hardhat-web3": "^2.0.0",
"@nomiclabs/hardhat-truffle5": "^2.0.0",
"@openzeppelin/contracts": "^4.3.1",
"@openzeppelin/hardhat-upgrades": "^1.8.2",
"@openzeppelin/test-helpers": "^0.5.5",
"@openzeppelin/upgrades": "^2.8.0",
"@typechain/ethers-v4": "^1.0.1",
"@typechain/ethers-v5": "0.0.3",
"@typechain/truffle-v4": "^2.0.3",
"@typechain/truffle-v5": "^2.0.2",
"@typechain/web3-v1": "^1.0.0",
"buidler-gas-reporter": "^0.1.3",
"buidler-typechain": "^0.1.1",
"chai": "^4.2.0",
"eth-gas-reporter": "^0.2.17",
"ethereum-waffle": "^3.0.2",
"ethers": "^5.1.4",
"ethlint": "^1.2.5",
"ganache-cli": "^6.12.2",
"hardhat": "^2.10.2",
"hardhat-gas-reporter": "^1.0.0-beta.0",
"hardhat-typechain": "^0.3.3",
"husky": "^4.2.5",
"openzeppelin-solidity": "^2.4.0",
"rimraf": "^3.0.2",
"solc": "0.5.14",
"solidity-coverage": "^0.7.16",
"surya": "^0.4.0",
"truffle": "^5.1.30",
"truffle-hdwallet-provider": "^1.0.0-web3one.5",
"truffle-typings": "^1.0.7",
"truffle-contract-size": "^2.0.1",
"@truffle/hdwallet-provider": "^1.0.42",
"ts-generator": "^0.1.1",
"ts-node": "^10.0.0",
"typechain": "^3.0.0",
"typechain-target-truffle": "^1.0.0",
"typescript": "^4.3.2",
"web3": "^1.2.8",
"web3-utils": "^1.2.6",
"yarn": "^1.22.19",
"web3-eth-contract": "^1.2.11"
},
"dependencies": {
"@babel/core": "^7.12.3",
"@types/shelljs": "^0.8.8",
"shelljs": "^0.8.4",
"solidity-parser-antlr": "^0.4.11",
"solium": "^1.2.5"
}
}