2022-07-16 11:36:29 +00:00
|
|
|
{
|
2023-08-08 11:35:14 +00:00
|
|
|
"name": "@vacp2p/foundry-template",
|
|
|
|
"description": "Foundry-based template for developing Solidity smart contracts used by Vac",
|
2022-07-16 11:36:29 +00:00
|
|
|
"version": "1.0.0",
|
|
|
|
"author": {
|
2023-08-08 11:35:14 +00:00
|
|
|
"name": "0x-r4bbit",
|
|
|
|
"url": "https://github.com/vacp2p"
|
2022-07-16 11:36:29 +00:00
|
|
|
},
|
|
|
|
"devDependencies": {
|
2023-07-07 08:53:44 +00:00
|
|
|
"prettier": "^3.0.0",
|
2024-02-27 11:21:53 +00:00
|
|
|
"solhint-community": "^3.6.0",
|
|
|
|
"commit-and-tag-version": "^12.2.0"
|
2022-07-16 11:36:29 +00:00
|
|
|
},
|
|
|
|
"keywords": [
|
|
|
|
"blockchain",
|
|
|
|
"ethereum",
|
|
|
|
"forge",
|
|
|
|
"foundry",
|
|
|
|
"smart-contracts",
|
|
|
|
"solidity",
|
|
|
|
"template"
|
|
|
|
],
|
|
|
|
"private": true,
|
|
|
|
"scripts": {
|
2023-04-11 19:23:15 +00:00
|
|
|
"clean": "rm -rf cache out",
|
2023-03-10 11:45:41 +00:00
|
|
|
"lint": "pnpm lint:sol && pnpm prettier:check",
|
2023-11-23 07:52:05 +00:00
|
|
|
"verify": "certoraRun certora/certora.conf",
|
|
|
|
"lint:sol": "forge fmt --check && pnpm solhint {script,src,test,certora}/**/*.sol",
|
2023-07-07 08:53:44 +00:00
|
|
|
"prettier:check": "prettier --check **/*.{json,md,yml} --ignore-path=.prettierignore",
|
2024-02-26 13:09:11 +00:00
|
|
|
"prettier:write": "prettier --write **/*.{json,md,yml} --ignore-path=.prettierignore",
|
2024-02-27 11:21:53 +00:00
|
|
|
"gas-report": "forge test --gas-report 2>&1 | (tee /dev/tty | awk '/Test result:/ {found=1; buffer=\"\"; next} found && !/Ran/ {buffer=buffer $0 ORS} /Ran/ {found=0} END {printf \"%s\", buffer}' > .gas-report)",
|
2024-02-26 17:04:58 +00:00
|
|
|
"release": "commit-and-tag-version",
|
|
|
|
"adorno": "pnpm prettier:write && forge fmt && forge snapshot && pnpm gas-report"
|
2022-07-16 11:36:29 +00:00
|
|
|
}
|
|
|
|
}
|