-
Notifications
You must be signed in to change notification settings - Fork 59
/
package.json
78 lines (78 loc) · 2.37 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
{
"name": "@morpho-org/morpho-blue",
"description": "Morpho Blue Protocol",
"license": "SEE LICENSE IN README.md",
"version": "1.0.0",
"files": [
"src",
"README.md",
"LICENSE"
],
"scripts": {
"prepare": "husky install && forge install",
"build:forge": "FOUNDRY_PROFILE=build forge build",
"build:hardhat": "npx hardhat compile",
"test:forge": "FOUNDRY_PROFILE=test forge test",
"test:forge:invariant": "FOUNDRY_MATCH_CONTRACT=InvariantTest yarn test:forge",
"test:forge:integration": "FOUNDRY_MATCH_CONTRACT=IntegrationTest yarn test:forge",
"test:hardhat": "npx hardhat test",
"test:halmos": "FOUNDRY_PROFILE=test halmos",
"lint": "yarn lint:forge && yarn lint:hardhat",
"lint:forge": "forge fmt --check",
"lint:hardhat": "prettier --check test/hardhat",
"lint:fix": "yarn lint:forge:fix && yarn lint:hardhat:fix",
"lint:forge:fix": "forge fmt",
"lint:hardhat:fix": "prettier --write test/hardhat",
"clean": "npx hardhat clean && forge clean"
},
"dependencies": {
"ethers": "^6.7.1",
"ethers-maths": "^4.0.2",
"lodash": "^4.17.21"
},
"devDependencies": {
"@commitlint/cli": "^17.7.1",
"@commitlint/config-conventional": "^17.7.0",
"@nomicfoundation/hardhat-chai-matchers": "^2.0.2",
"@nomicfoundation/hardhat-ethers": "^3.0.4",
"@nomicfoundation/hardhat-foundry": "^1.0.3",
"@nomicfoundation/hardhat-network-helpers": "^1.0.8",
"@trivago/prettier-plugin-sort-imports": "^4.2.0",
"@typechain/ethers-v6": "^0.5.0",
"@typechain/hardhat": "^9.0.0",
"@types/chai": "^4.3.5",
"@types/lodash": "^4.14.197",
"@types/mocha": "^10.0.1",
"@types/node": "^20.5.4",
"chai": "^4.3.8",
"dotenv": "^16.3.1",
"hardhat": "^2.17.1",
"hardhat-gas-reporter": "^1.0.9",
"hardhat-tracer": "^2.6.0",
"husky": "^8.0.3",
"lint-staged": "^14.0.1",
"prettier": "^3.0.2",
"solidity-coverage": "^0.8.4",
"ts-node": "^10.9.1",
"typechain": "^8.3.1",
"typescript": "^5.1.6"
},
"lint-staged": {
"*.sol": "forge fmt",
"*.js": "yarn prettier",
"*.ts": "yarn prettier",
"*.json": "yarn prettier",
"*.yml": "yarn prettier"
},
"commitlint": {
"extends": [
"@commitlint/config-conventional"
]
},
"prettier": {
"printWidth": 120,
"plugins": [
"@trivago/prettier-plugin-sort-imports"
]
}
}