-
Notifications
You must be signed in to change notification settings - Fork 98
/
package.json
122 lines (122 loc) · 5.54 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
{
"name": "@feiprotocol/fei-protocol-core",
"version": "1.0.0",
"private": true,
"description": "",
"files": [],
"scripts": {
"build": "npm run clean && npm run compile",
"compile:forge": "forge build --optimize",
"compile:hardhat": "npx hardhat compile",
"compile": "npm run compile:forge && npm run compile:hardhat",
"coverage": "npx hardhat coverage",
"console": "npx hardhat console",
"clean:forge": "forge clean",
"clean:hardhat": "npx hardhat clean",
"clean": "npm run clean:forge && npm run clean:hardhat",
"devnet": "ENABLE_MAINNET_FORKING=true NO_RESET=true npx hardhat node",
"console:rinkeby": "npx hardhat console --network rinkeby",
"console:ropsten": "npx hardhat console --network ropsten",
"test": "forge test --no-match-contract IntegrationTest",
"test:integration": "FORK_BLOCK=`cat block.txt` forge test --fork-url https://eth-mainnet.alchemyapi.io/v2/$MAINNET_ALCHEMY_API_KEY --fork-block-number $FORK_BLOCK --match-contract IntegrationTest",
"test:integration:latest": "forge test --fork-url https://eth-mainnet.alchemyapi.io/v2/$MAINNET_ALCHEMY_API_KEY --match-contract IntegrationTest",
"test:hardhat": "npx hardhat test",
"test:hardhat:dependencies": "LOGGING=true NO_RESET=true npx hardhat test test/integration/tests/dependencies.ts",
"test:e2e": "FORK_BLOCK=`cat block.txt` ENABLE_MAINNET_FORKING=true RUN_E2E_TESTS=true npx hardhat test",
"test:gas": "REPORT_GAS=true npx hardhat test",
"test:all": "RUN_ALL_TESTS=true npx hardhat test",
"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: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": "FORK_BLOCK=`cat block.txt` ENABLE_MAINNET_FORKING=true npx hardhat run scripts/utils/getProposalCalldata.ts",
"check-proposal": "ENABLE_MAINNET_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"
},
"author": "joeysantoro",
"license": "AGPL-3.0-only",
"engines": {
"npm": ">=8.0.1",
"node": ">=16.0.0"
},
"dependencies": {
"@balancer-labs/v2-pool-weighted": "^2.0.1",
"@chainlink/contracts": "^0.1.7",
"@gnosis.pm/safe-core-sdk": "^2.3.2",
"@gnosis.pm/safe-deployments": "^1.16.0",
"@gnosis.pm/safe-ethers-lib": "^1.4.0",
"@nomiclabs/hardhat-waffle": "^2.0.3",
"@openzeppelin/contracts": "4.7.3",
"@openzeppelin/test-environment": "^0.1.7",
"@openzeppelin/test-helpers": "^0.5.15",
"@orcaprotocol/contracts": "^5.4.3",
"@rari-capital/solmate": "^6.4.0",
"@uniswap/lib": "^1.1.2",
"@uniswap/v2-core": "^1.0.1",
"@uniswap/v2-periphery": "^1.1.0-beta.0",
"chai": "^4.3.6",
"dotenv": "^16.0.2",
"hardhat": "^2.11.2",
"hardhat-contract-sizer": "^2.6.1",
"hardhat-gas-reporter": "^1.0.8",
"merkletreejs": "^0.2.32",
"string-template": "^1.0.0"
},
"devDependencies": {
"@idle-finance/hardhat-proposals-plugin": "^0.2.3",
"@nomiclabs/hardhat-ethers": "^2.1.1",
"@nomiclabs/hardhat-etherscan": "^3.1.0",
"@typechain/ethers-v5": "^7.1.2",
"@typechain/hardhat": "^2.3.0",
"@types/chai": "^4.3.3",
"@types/crypto-js": "^4.1.1",
"@types/mocha": "^9.1.1",
"@types/node": "^18.7.16",
"@typescript-eslint/eslint-plugin": "^4.31.2",
"@typescript-eslint/parser": "^4.31.2",
"chai-bn": "^0.3.1",
"eslint": "^7.32.0",
"eslint-config-airbnb-base": "^15.0.0",
"eslint-config-prettier": "^8.5.0",
"eslint-plugin-import": "^2.26.0",
"eslint-plugin-prettier": "^4.2.1",
"ethereum-waffle": "^3.4.4",
"ethers": "^5.7.1",
"husky": "^8.0.1",
"lint-staged": "^13.0.3",
"mocha": "^10.0.0",
"mocha-junit-reporter": "^2.0.2",
"mocha-multi-reporters": "^1.5.1",
"prettier": "^2.7.1",
"prettier-plugin-solidity": "^1.0.0-dev.23",
"solhint": "^3.3.7",
"solhint-plugin-prettier": "^0.0.5",
"solidity-coverage": "^0.7.21",
"ts-node": "^10.9.1",
"tsconfig-paths": "^4.1.0",
"typechain": "^5.2.0",
"typescript": "^4.8.2"
},
"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'"
]
}
}