-
Notifications
You must be signed in to change notification settings - Fork 26
/
package.json
99 lines (99 loc) · 2.91 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
{
"name": "@morpho-org/metamorpho",
"description": "MetaMorpho multicall encoder",
"license": "GPL-2.0-or-later",
"version": "1.1.0",
"main": "lib/index.js",
"bin": "lib/cli.js",
"files": [
"lib/**/*"
],
"scripts": {
"prepare": "husky install && forge install",
"build:pkg": "yarn build:hardhat --force && tsc --build ./tsconfig.build.json",
"build:forge": "FOUNDRY_PROFILE=build forge build",
"build:hardhat": "hardhat compile",
"build:blue": "yarn --cwd lib/morpho-blue/ build:forge",
"build:irm": "yarn --cwd lib/morpho-blue-irm/ build:forge",
"typecheck": "tsc --noEmit",
"test:forge": "yarn build:blue && FOUNDRY_PROFILE=test forge test",
"test:hardhat": "yarn build:blue && yarn build:irm && hardhat test",
"lint": "yarn lint:forge && yarn lint:ts",
"lint:ts": "prettier --check test/hardhat",
"lint:forge": "forge fmt --check",
"lint:fix": "yarn lint:forge:fix && yarn lint:ts:fix",
"lint:ts:fix": "prettier --write test/hardhat",
"lint:forge:fix": "forge fmt",
"clean": "hardhat clean && forge clean"
},
"repository": {
"type": "git",
"url": "git+https://github.com/morpho-org/metamorpho.git"
},
"author": {
"name": "Morpho Labs",
"email": "[email protected]",
"url": "https://github.com/morpho-labs"
},
"bugs": {
"url": "https://github.com/morpho-org/metamorpho/issues"
},
"homepage": "https://github.com/morpho-org/metamorpho#readme",
"dependencies": {
"ethers": "^6.9.2",
"evm-maths": "^6.0.0",
"lodash": "^4.17.21"
},
"devDependencies": {
"@commitlint/cli": "^18.4.4",
"@commitlint/config-conventional": "^18.4.4",
"@nomicfoundation/hardhat-chai-matchers": "^2.0.3",
"@nomicfoundation/hardhat-ethers": "^3.0.5",
"@nomicfoundation/hardhat-foundry": "^1.1.1",
"@nomicfoundation/hardhat-network-helpers": "^1.0.10",
"@trivago/prettier-plugin-sort-imports": "^4.3.0",
"@typechain/ethers-v6": "^0.5.1",
"@typechain/hardhat": "^9.1.0",
"@types/chai": "^4.3.11",
"@types/lodash": "^4.14.202",
"@types/mocha": "^10.0.6",
"@types/node": "^20.11.0",
"chai": "^4.4.0",
"dotenv": "^16.3.1",
"hardhat": "^2.19.4",
"hardhat-gas-reporter": "^1.0.9",
"hardhat-tracer": "^2.7.0",
"husky": "^8.0.3",
"lint-staged": "^14.0.1",
"prettier": "^3.1.1",
"solidity-coverage": "^0.8.5",
"ts-node": "^10.9.2",
"tsconfig-paths": "^4.2.0",
"typechain": "^8.3.2",
"typescript": "^5.3.3"
},
"lint-staged": {
"*.sol": "forge fmt",
"*.js": "prettier",
"*.ts": "prettier",
"*.json": "prettier",
"*.yml": "prettier"
},
"commitlint": {
"extends": [
"@commitlint/config-conventional"
]
},
"prettier": {
"printWidth": 120,
"plugins": [
"@trivago/prettier-plugin-sort-imports"
],
"importOrder": [
"^@",
"^\\.\\.",
"^\\."
],
"importOrderSeparation": true
}
}