-
Notifications
You must be signed in to change notification settings - Fork 11
/
package.json
104 lines (104 loc) · 5.03 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
{
"name": "@voltprotocol/volt-protocol-core",
"version": "1.0.0",
"private": true,
"description": "",
"files": [],
"scripts": {
"compile": "forge build",
"clean": "forge clean && rm -rf artifacts",
"test": "forge test --match-contract UnitTest -vvv",
"test:proposal:mainnet": "forge test --fork-url https://eth-mainnet.alchemyapi.io/v2/$MAINNET_ALCHEMY_API_KEY --match-test testProposalMainnet -vvv",
"test:proposal:arbitrum": "forge test --fork-url https://arb-mainnet.g.alchemy.com/v2/$ARBITRUM_ALCHEMY_API_KEY --match-test testProposalArbitrum -vvv",
"test:integration": "forge test --fork-url https://eth-mainnet.alchemyapi.io/v2/$MAINNET_ALCHEMY_API_KEY --match-contract IntegrationTest -vvv",
"test:integration:arbitrum": "forge test --fork-url https://arb-mainnet.g.alchemy.com/v2/$ARBITRUM_ALCHEMY_API_KEY --match-contract ArbitrumTest -vvv",
"lint": "npm run lint:ts && npm run lint:sol",
"lint:ts": "eslint --config ./.eslintrc --ignore-path ./.eslintignore --ext .ts,.tsx .",
"lint-all": "eslint --config ./.eslintrc --ignore-path ./.eslintignore --ext .js,.jsx,.ts,.tsx .",
"lint:fix": "eslint --fix --config ./.eslintrc --ignore-path ./.eslintignore --ext .ts,.tsx .",
"lint:sol": "solhint --ignore-path ./.solhintignore \"contracts/**/*.sol\"",
"size-contracts": "npx hardhat size-contracts",
"setup:forge": "curl -L https://foundry.paradigm.xyz | bash && foundryup",
"deploy:localhost": "npx hardhat run --network localhost scripts/deploy/migrations.ts",
"deploy:main": "npx hardhat run --network mainnet scripts/deploy/migrations.ts",
"deploy:arbitrum": "ENABLE_ARBITRUM_FORKING=true npx hardhat run --network arbitrumOne scripts/deploy/migrations.ts",
"deploy:kovan": "LOGGING=true npx hardhat run --network kovan scripts/deploy/migrations.ts",
"deploy:fip": "IS_FIP=true npm run deploy:main",
"deploy:fuse": "DEPLOY_FILE=compoundPCVDeposit npx hardhat run --network mainnet scripts/deploy/migrations.ts",
"deploy:timelock": "DEPLOY_FILE=optimisticTimelockDeploy npx hardhat run --network mainnet scripts/deploy/migrations.ts",
"deploy:stw": "DEPLOY_FILE=deployStakedTokenWrapper npx hardhat run --network mainnet scripts/deploy/migrations.ts",
"abis": "node scripts/utils/abis.js",
"calldata": "npx hardhat run scripts/simulation/getProposalCalldata.ts",
"calldata:arbitrum": "ENABLE_ARBITRUM_FORKING=true npx hardhat run scripts/simulation/getProposalCalldata.ts",
"check-proposal": "ENABLE_MAINNET_FORKING=true npx hardhat run scripts/utils/checkProposal.ts",
"check-proposal-arbitrum": "ENABLE_ARBITRUM_FORKING=true npx hardhat run scripts/utils/checkProposal.ts",
"prettier:sol": "prettier --config ./contracts/.prettierrc --write 'contracts/**/*.sol'",
"prettier:ts": "prettier --config .prettierrc './**/*.ts' --write",
"prettier": "npx prettier:soldity && npx prettier:ts",
"prepare": "husky install"
},
"authors": "elliotfriedman,kassim,joeysantoro",
"dependencies": {
"@balancer-labs/v2-pool-weighted": "^2.0.1",
"@chainlink/contracts": "^0.3.1",
"@ethersproject/providers": "^5.5.3",
"@nomiclabs/hardhat-waffle": "^2.0.1",
"@openzeppelin/contracts": "4.6.0",
"@openzeppelin/test-environment": "^0.1.7",
"@openzeppelin/test-helpers": "^0.5.15",
"@uniswap/lib": "^1.1.2",
"@uniswap/v2-core": "^1.0.1",
"@uniswap/v2-periphery": "^1.1.0-beta.0",
"async": "2.6.4",
"chai": "^4.3.4",
"dotenv": "^14.1.0",
"hardhat": "^2.8.2",
"hardhat-contract-sizer": "^2.4.0",
"hardhat-gas-reporter": "^1.0.7",
"merkletreejs": "^0.2.27",
"string-template": "^1.0.0"
},
"devDependencies": {
"@idle-finance/hardhat-proposals-plugin": "^0.2.3",
"@nomiclabs/hardhat-ethers": "^2.0.4",
"@nomiclabs/hardhat-etherscan": "3.1.0",
"@typechain/ethers-v5": "^7.1.2",
"@typechain/hardhat": "^2.3.0",
"@types/chai": "^4.3.0",
"@types/mocha": "^9.0.0",
"@types/node": "^17.0.21",
"@typescript-eslint/eslint-plugin": "^4.31.2",
"@typescript-eslint/parser": "^4.31.2",
"chai-bn": "^0.3.0",
"eslint": "^7.32.0",
"eslint-config-airbnb-base": "^15.0.0",
"eslint-config-prettier": "^8.3.0",
"eslint-plugin-import": "^2.25.4",
"eslint-plugin-prettier": "^4.0.0",
"ethereum-waffle": "^3.3.0",
"ethers": "^5.5.3",
"husky": "^7.0.4",
"lint-staged": "^12.1.7",
"mocha": "^9.1.4",
"mocha-junit-reporter": "^2.0.2",
"mocha-multi-reporters": "^1.5.1",
"prettier": "^2.5.1",
"prettier-plugin-solidity": "^1.0.0-beta.19",
"solhint": "^3.3.7",
"solhint-plugin-prettier": "^0.0.5",
"solidity-coverage": "^0.7.17",
"ts-node": "^10.4.0",
"tsconfig-paths": "^3.12.0",
"typechain": "^5.2.0",
"typescript": "^4.5.4"
},
"lint-staged": {
"*.{ts,tsx}": [
"eslint --cache --fix --config ./.eslintrc --ignore-path ./.eslintignore --ext .ts,.tsx .",
"prettier --config .prettierrc './**/*.ts' --write"
],
"*.{sol}": [
"prettier --config ./contracts/.prettierrc --write 'contracts/**/*.sol'"
]
}
}