-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(snippets): updating blue snippet based on cantina-review pr
- Loading branch information
Showing
10 changed files
with
5,525 additions
and
892 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -12,3 +12,9 @@ docs/ | |
|
||
# Dotenv file | ||
.env | ||
|
||
#lib | ||
lib/ | ||
|
||
#node_modules | ||
node_modules |
Submodule morpho-blue
deleted from
720953
Submodule openzeppelin-contracts
deleted from
281550
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,101 @@ | ||
{ | ||
"name": "@morpho-org/blue-bundlers", | ||
"description": "Morpho Blue Bundlers", | ||
"license": "GPL-2.0-or-later", | ||
"version": "0.0.2", | ||
"main": "dist/index.js", | ||
"files": [ | ||
"dist", | ||
"package.json" | ||
], | ||
"repository": { | ||
"type": "git", | ||
"url": "git+https://github.com/morpho-labs/morpho-blue-bundlers.git" | ||
}, | ||
"author": { | ||
"name": "Morpho Labs", | ||
"email": "[email protected]", | ||
"url": "https://github.com/morpho-labs" | ||
}, | ||
"bugs": { | ||
"url": "https://github.com/morpho-labs/morpho-blue-bundlers/issues" | ||
}, | ||
"homepage": "https://github.com/morpho-labs/morpho-blue-bundlers#readme", | ||
"scripts": { | ||
"prepare": "husky install", | ||
"postinstall": "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": "cd lib/morpho-blue/ && yarn build:forge && cd ../..", | ||
"build:irm": "cd lib/morpho-blue-irm/ && forge build && cd ../..", | ||
"typecheck": "tsc --noEmit", | ||
"test:forge": "yarn build:blue && FOUNDRY_PROFILE=test forge test", | ||
"test:forge:local": "FOUNDRY_MATCH_CONTRACT=LocalTest yarn test:forge", | ||
"test:forge:ethereum": "FOUNDRY_MATCH_CONTRACT=EthereumTest yarn test:forge", | ||
"test:hardhat": "hardhat test", | ||
"lint": "yarn lint:forge && yarn lint:ts", | ||
"lint:ts": "prettier --check pkg", | ||
"lint:forge": "forge fmt --check", | ||
"lint:fix": "yarn lint:forge:fix && yarn lint:ts:fix", | ||
"lint:forge:fix": "forge fmt", | ||
"clean": "hardhat clean && forge clean" | ||
}, | ||
"dependencies": { | ||
"ethers": "^6.8.0", | ||
"ethers-maths": "^5.0.0", | ||
"lodash": "^4.17.21" | ||
}, | ||
"devDependencies": { | ||
"@commitlint/cli": "^17.8.0", | ||
"@commitlint/config-conventional": "^17.8.0", | ||
"@nomicfoundation/hardhat-chai-matchers": "^2.0.2", | ||
"@nomicfoundation/hardhat-ethers": "^3.0.4", | ||
"@nomicfoundation/hardhat-foundry": "^1.1.1", | ||
"@nomicfoundation/hardhat-network-helpers": "^1.0.9", | ||
"@trivago/prettier-plugin-sort-imports": "^4.2.0", | ||
"@typechain/ethers-v6": "^0.5.1", | ||
"@typechain/hardhat": "^9.1.0", | ||
"@types/chai": "^4.3.8", | ||
"@types/lodash": "^4.14.199", | ||
"@types/mocha": "^10.0.2", | ||
"@types/node": "^20.8.6", | ||
"chai": "^4.3.10", | ||
"dotenv": "^16.3.1", | ||
"hardhat": "^2.18.1", | ||
"hardhat-gas-reporter": "^1.0.9", | ||
"hardhat-tracer": "^2.6.0", | ||
"husky": "^8.0.3", | ||
"lint-staged": "^14.0.1", | ||
"prettier": "^3.0.3", | ||
"solidity-coverage": "^0.8.5", | ||
"ts-node": "^10.9.1", | ||
"tsconfig-paths": "^4.2.0", | ||
"typechain": "^8.3.2", | ||
"typescript": "^5.2.2" | ||
}, | ||
"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 | ||
} | ||
} |
Oops, something went wrong.