-
Notifications
You must be signed in to change notification settings - Fork 5
/
package.json
126 lines (126 loc) · 5.59 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
{
"name": "@babylon-finance/protocol",
"version": "0.1.0",
"main": "index.js",
"license": "Apache-2.0",
"repository": "git://github.com/babylon-finance/protocol",
"files": [
"contracts",
"artifacts",
"typechain",
"export"
],
"devDependencies": {
"@babel/core": "^7.15.0",
"@babel/plugin-transform-runtime": "^7.15.0",
"@babel/preset-env": "^7.15.0",
"@babel/register": "^7.14.5",
"@babel/runtime": "^7.14.8",
"@nomiclabs/hardhat-ethers": "^2.0.5",
"@nomiclabs/hardhat-etherscan": "^2.1.4",
"@nomiclabs/hardhat-waffle": "^2.0.1",
"@openzeppelin/hardhat-upgrades": "^1.6.0",
"@tenderly/hardhat-tenderly": "^1.0.12",
"@typechain/ethers-v5": "^6.0.5",
"@typechain/hardhat": "^1.0.1",
"axios": "^0.21.4",
"babel-plugin-module-resolver": "^4.1.0",
"bluebird": "^3.7.2",
"chai": "^4.3.4",
"chai-as-promised": "^7.1.1",
"chalk": "^4.1.2",
"cli-progress": "^3.9.0",
"core-js": "^3.16.0",
"defender-admin-client": "^1.12.1",
"dotenv": "^8.2.0",
"eslint": "^7.24.0",
"eslint-config-airbnb": "^18.2.1",
"eslint-config-prettier": "^6.11.0",
"eslint-config-standard": "^16.0.2",
"eslint-plugin-babel": "^5.3.1",
"eslint-plugin-import": "^2.22.1",
"eslint-plugin-jsx-a11y": "^6.4.1",
"eslint-plugin-no-only-tests": "^2.5.0",
"eslint-plugin-node": "^11.1.0",
"eslint-plugin-prettier": "^3.1.4",
"eslint-plugin-promise": "^5.1.0",
"eslint-plugin-standard": "^5.0.0",
"ethereum-waffle": "^3.4.0",
"ethers": "5.4.3",
"fs-extra": "^10.0.0",
"glob": "^7.1.7",
"graphql": "^15.5.3",
"graphql-request": "^3.5.0",
"hardhat": "^2.8.4",
"hardhat-contract-sizer": "^2.0.2",
"hardhat-deploy": "^0.10.5",
"hardhat-docgen": "^1.0.3",
"hardhat-gas-reporter": "^1.0.4",
"hardhat-log-remover": "^2.0.2",
"hardhat-spdx-license-identifier": "^2.0.3",
"hardhat-watcher": "^2.1.1",
"node-watch": "^0.7.1",
"prettier": "^2.2.1",
"prettier-plugin-solidity": "^1.0.0-beta.6",
"regenerator-runtime": "^0.13.9",
"solhint": "^3.3.4",
"solidity-coverage": "^0.7.20",
"ts-generator": "^0.1.1",
"ts-node": "^9.1.1",
"typechain": "^4.0.3",
"typescript": "^4.2.3"
},
"dependencies": {
"@openzeppelin/contracts": "3.4.1",
"@openzeppelin/contracts-upgradeable": "^3.4.1",
"@uniswap/v2-core": "^1.0.1",
"@uniswap/v2-periphery": "https://github.com/hoytech/uniswap-v2-periphery.git#e8c36e5ad5178341cd67f8b0fdb983073428fb6b",
"@uniswap/v3-core": "^1.0.0",
"@uniswap/v3-periphery": "^1.1.0",
"contracts-next": "npm:@openzeppelin/contracts@4.3.1"
},
"scripts": {
"increaseTime": "hardhat increaseTime",
"clean": "rm -rf cache/* && rm -rf artifacts/* && rm -rf ./export/*",
"remove-logs": "hardhat remove-logs",
"prettier": "prettier --write .",
"prettier:check": "prettier --check .",
"lint:contracts": "solhint contracts/**/*.sol",
"lint:tests": "eslint 'test/**/*.test.js'",
"compile": "hardhat compile --max-memory 8096",
"export-token-list": "yarn compile && hardhat export-token-list --network mainnet --show-stack-traces",
"export:hardhat": "yarn clean && yarn compile && hardhat export --network hardhat --export contracts.json",
"export:mainnet": "yarn clean && yarn compile && hardhat export --network mainnet --export contracts.json",
"deploy:hardhat": "hardhat deploy --network hardhat",
"deploy:mainnet": "hardhat deploy --network mainnet",
"deploy:rinkeby": "hardhat deploy --network rinkeby",
"chain": "FORK=true hardhat node --network hardhat --show-stack-traces",
"chain:no-auto-mine": "FORK=true HRE_NO_AUTOMINE=true yarn run chain",
"test": "yarn compile && FORK=true OPTIMIZER=false mocha --require @babel/register --require hardhat/register --timeout 9999999 --recursive --parallel --exit",
"test:unit": "yarn compile && OPTIMIZER=false mocha --require @babel/register --require hardhat/register ./test/unit/** --timeout 9999999 --recursive --parallel --exit",
"test:integration": "yarn compile && OPTIMIZER=false FORK=true mocha --require @babel/register --require hardhat/register ./test/integration/** --timeout 9999999 --recursive --parallel --exit",
"test:integration:fast": "yarn compile && FAST=true FORK=true OPTIMIZER=false mocha --require @babel/register --require hardhat/register ./test/integration/** --timeout 9999999 --recursive --parallel --exit",
"test:integration:core:fast": "yarn compile && FAST=true FORK=true OPTIMIZER=false mocha --require @babel/register --require hardhat/register ./test/integration/core/** --timeout 9999999 --recursive --parallel --exit",
"test:integration:integrations:fast": "yarn compile && FAST=true FORK=true OPTIMIZER=false mocha --require @babel/register --require hardhat/register ./test/integration/integrations/** --timeout 9999999 --recursive --parallel --exit",
"gas-report": "FORK=true REPORT_GAS=1 hardhat test --network hardhat --max-memory 8096",
"estimate-size": "yarn compile && hardhat size-contracts --max-memory 8096",
"coverage": "COVERAGE=true hardhat coverage --max-memory 8096",
"tvl": "hardhat tvl --network mainnet",
"vesting": "hardhat vesting --network mainnet",
"stuck": "hardhat stuck --network mainnet",
"mining": "hardhat mining --network mainnet",
"users": "hardhat users --network mainnet",
"gardens": "hardhat gardens --network mainnet"
},
"jest": {
"moduleDirectories": [
"lib",
"test",
"node_modules"
],
"moduleNameMapper": {
"^lib/(.*)$": "<rootDir>/lib/$1",
"^test/(.*)$": "<rootDir>/test/$1"
}
}
}