-
Notifications
You must be signed in to change notification settings - Fork 4
/
package.json
134 lines (134 loc) · 5.98 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
127
128
129
130
131
132
133
134
{
"name": "@mstable/metavaults",
"version": "0.0.7-dev",
"description": "mStable EIP-4626 Tokenized Vaults",
"author": "mStable <info@mstable.org>",
"license": "AGPL-3.0-or-later",
"directories": {
"doc": "docs",
"test": "test"
},
"files": [
"/abis",
"!/contracts/**/*.sol",
"!/contracts/z_mocks",
"/dist",
"!/dist/test",
"!/dist/test-fork"
],
"main": "./dist/index.js",
"types": "./dist/index.d.ts",
"scripts": {
"lint": "yarn run lint-ts && yarn run lint-sol",
"lint:fix": "yarn pretty-quick --pattern '**/*.*(sol|json)' --staged --verbose && yarn pretty-quick --staged --write tasks/**/*.ts test/**/*.ts types/*.ts",
"lint-ts": "yarn eslint tasks/ test/ types/ --ext .ts --fix",
"lint-sol": "solhint 'contracts/**/*.sol'",
"clean": "yarn hardhat clean && rm -rf types/generated dist dist-web coverage abis artifacts",
"compile-abis": "yarn hardhat export-abi --no-compile && typechain --target=ethers-v5 --out-dir types/generated \"?(contracts|artifacts)/!(build-info)/**/+([a-zA-Z0-9]).json\"",
"compile-ts": "npx tsc",
"compile-sol": "yarn hardhat compile --no-typechain",
"compile": "yarn hardhat compile",
"copy-types": "cp -R types/generated dist/types",
"coverage": "node --max_old_space_size=6144 node_modules/.bin/hardhat coverage --testfiles 'test/**/*.spec.ts' --show-stack-traces --typecheck",
"coverage:fork": "node --max_old_space_size=6144 node_modules/.bin/hardhat coverage --config hardhat-fork.config.ts --testfiles 'test-fork/vault/savePlus.spec.ts' --show-stack-traces --typecheck",
"coverage:fork:all": "node --max_old_space_size=6144 node_modules/.bin/hardhat coverage --config hardhat-fork.config.ts --testfiles 'test-fork/vault/*.spec.ts' --show-stack-traces --typecheck",
"coverage:fork:peripheral": "node --max_old_space_size=6144 node_modules/.bin/hardhat coverage --config hardhat-fork.config.ts --testfiles 'test-fork/peripheral/**/*.spec.ts' --show-stack-traces --typecheck",
"convertTestFiles": "cd test-utils/validator-data; ts-node ./convertCsvTestFiles.ts",
"flatten": "npx sol-merger \"./contracts/**/*.sol\" ./_flat",
"hh:fork": "npx hardhat node --config hardhat-fork.config.ts",
"task": "yarn hardhat --config tasks.config.ts --typecheck",
"task:fork": "yarn hardhat --config tasks-fork.config.ts --typecheck",
"task:fork:polly": "yarn hardhat --config tasks-fork-polygon.config.ts --typecheck",
"test": "yarn hardhat test --typecheck",
"test:fork": "yarn hardhat --config hardhat-fork.config.ts test ./test-fork/**/*.spec.ts --typecheck",
"test:fork:ci": "yarn hardhat --config hardhat-fork.config.ts test ./test-fork/vault/saveFraxPlus.spec.ts --typecheck",
"test:file:fork": "yarn hardhat --config hardhat-fork.config.ts test --typecheck",
"test:file": "yarn hardhat test --typecheck",
"slither": "slither .",
"prepublishOnly": "yarn compile && yarn compile-ts && yarn compile-abis && yarn copy-types && npx replace-tsconfig-paths",
"web": "ts-node ./web-config.ts",
"docgen": "yarn hardhat docgen"
},
"repository": {
"type": "git",
"url": "git+https://github.com/mstable/metavaults/.git"
},
"devDependencies": {
"@commitlint/cli": "^17.4.2",
"@commitlint/config-conventional": "^17.4.2",
"@nomicfoundation/hardhat-chai-matchers": "^1.0.5",
"@nomicfoundation/hardhat-network-helpers": "^1.0.7",
"@nomiclabs/hardhat-etherscan": "^3.1.5",
"@types/fs-extra": "^11.0.1",
"@types/mocha": "^10.0.1",
"@types/node": "^18.13.0",
"@types/shelljs": "^0.8.11",
"@typescript-eslint/eslint-plugin": "^5.51.0",
"@typescript-eslint/eslint-plugin-tslint": "^5.51.0",
"@typescript-eslint/parser": "^5.51.0",
"chalk": "^5.2.0",
"commitlint": "^17.4.2",
"cross-env": "^7.0.3",
"dotenv": "^16.0.3",
"eslint": "^8.33.0",
"eslint-config-airbnb-typescript": "^17.0.0",
"eslint-config-prettier": "^8.6.0",
"eslint-import-resolver-alias": "^1.1.2",
"eslint-plugin-import": "^2.27.5",
"eslint-plugin-jsx-a11y": "^6.7.1",
"eslint-plugin-react": "^7.32.2",
"eslint-plugin-simple-import-sort": "^10.0.0",
"eslint-plugin-unused-imports": "^2.0.0",
"fs-extra": "^11.1.0",
"hardhat-abi-exporter": "^2.10.1",
"humanize-duration": "^3.28.0",
"husky": "^8.0.3",
"mocha": "^10.2.0",
"prettier": "^2.8.4",
"prettier-plugin-solidity": "^1.1.2",
"pretty-quick": "^3.1.3",
"replace-tsconfig-paths": "^1.2.6",
"shelljs": "^0.8.5",
"sol-merger": "^4.2.0",
"solc": "0.8.17",
"solhint": "^3.3.8",
"solidity-docgen": "^0.6.0-beta.29",
"ts-generator": "^0.1.1",
"typescript": "^4.9.5"
},
"_moduleAliases": {
"@utils": "dist/test-utils",
"@test": "dist/test",
"@tasks": "dist/tasks"
},
"bugs": {
"url": "https://github.com/mstable/metavaults/issues"
},
"homepage": "https://github.com/mstable/metavaults#readme",
"dependencies": {
"@nomiclabs/hardhat-ethers": "^2.2.2",
"@openzeppelin/contracts": "4.7.3",
"@tenderly/hardhat-tenderly": "^1.5.3",
"@typechain/ethers-v5": "^10.2.0",
"@typechain/hardhat": "^6.1.5",
"axios": "^0.27.2",
"chai": "^4.3.7",
"debug": "^4.3.4",
"defender-relay-client": "^1.38.0",
"ethers": "^5.7.1",
"hardhat": "^2.12.6",
"hardhat-gas-reporter": "^1.0.9",
"solidity-coverage": "0.8.2",
"ts-node": "^10.9.1",
"tsconfig-paths": "^4.1.2",
"typechain": "^8.1.1"
},
"keywords": [
"ethereum",
"EIP-4626",
"meta vault",
"mstable",
"solidity",
"vault"
]
}