-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
100 lines (100 loc) · 3.05 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
{
"devDependencies": {
"@nomiclabs/hardhat-ethers": "npm:hardhat-deploy-ethers",
"@nomiclabs/hardhat-etherscan": "^2.1.8",
"@nomiclabs/hardhat-waffle": "^2.0.0",
"@types/chai": "^4.2.18",
"@types/mocha": "^8.2.2",
"@types/node": "^15.3.0",
"@typescript-eslint/eslint-plugin": "^5.5.0",
"@typescript-eslint/parser": "^5.5.0",
"chai": "^4.3.4",
"eslint": "^8.3.0",
"eslint-config-prettier": "^8.3.0",
"eslint-plugin-prettier": "^3.4.0",
"ethereum-waffle": "^3.0.0",
"ethers": "5.4.0",
"hardhat": "^2.6.0",
"hardhat-contract-sizer": "^2.0.3",
"hardhat-deploy": "^0.8.11",
"hardhat-gas-reporter": "^1.0.7",
"hardhat-log-remover": "^2.0.2",
"husky": "^6.0.0",
"lint-staged": "^11.0.0",
"prettier": "^2.2.1",
"prettier-plugin-solidity": "1.0.0-beta.10",
"solhint": "3.3.4",
"solhint-plugin-prettier": "^0.0.5",
"solidity-coverage": "^0.7.16",
"ts-mocha": "^8.0.0",
"ts-node": "^9.1.1",
"typescript": "^4.2.4"
},
"resolutions": {
"elliptic": "^6.5.3",
"lodash": "^4.17.20",
"underscore": "^1.9.0"
},
"scripts": {
"test": "yarn test:eth",
"test:eth": "CHAINID=1 npx hardhat test test/*.ts test/libraries/*.ts",
"test:sanity": "CHAINID=43114 npx hardhat test test/VaultSanityCheck.ts",
"test:oracles": "npx hardhat test test/oracles/*.ts",
"test:upgrade": "npx hardhat test test/upgrades/*.ts",
"test:integration": "npx hardhat test test/integration/*.ts",
"test:utils": "npx hardhat test test/utils/*.ts",
"compile": "CHAINID=1 npx hardhat compile",
"deploy": "npx hardhat deploy",
"etherscan-verify": "npx hardhat etherscan-verify",
"export-deployments": "npx hardhat export-deployments",
"prepare": "husky install",
"prettier:sol": "yarn prettier --write contracts/*",
"lint:ts": "eslint '**/*.ts'",
"lint:ts:fix": "yarn lint:ts --fix",
"lint:ts:prettier": "prettier --write '**/*.ts'",
"lint:sol": "solhint -f table contracts/**/*.sol",
"lint:sol:prettier": "prettier --write \"contracts/**/*.sol\"",
"clean-logs": "yarn run hardhat remove-logs",
"coverage": "yarn run hardhat coverage"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"lint-staged": {
"contracts/**/*.sol": [
"yarn prettier:contracts",
"yarn lint:sol",
"yarn lint:sol:prettier"
],
"test/**": [
"yarn lint:test:fix",
"yarn lint:test:prettier"
],
"scripts/**": [
"yarn lint:ts:fix",
"yarn lint:ts:prettier"
]
},
"license": "MIT",
"dependencies": {
"@airswap/utils": "^0.4.4",
"@chainlink/contracts": "^0.4.0",
"@openzeppelin/contracts": "4.3.1",
"@openzeppelin/contracts-upgradeable": "4.3.1",
"@ribbon-finance/rvol": "^1.4.2",
"axios": "^0.21.1",
"cron": "^1.8.2",
"discord.js": "^12.5.3",
"dotenv": "^10.0.0",
"got": "^10.7.0",
"json-stable-stringify": "^1.0.1",
"minimatch": "^5.1.0",
"moment-timezone": "^0.5.33",
"simple-git": "^2.45.1"
},
"mocha": {
"timeout": 20000
}
}