mirror of
https://github.com/vacp2p/staking-reward-streamer.git
synced 2026-01-06 19:53:52 -05:00
39 lines
1.5 KiB
JSON
39 lines
1.5 KiB
JSON
{
|
|
"name": "@vacp2p/staking",
|
|
"description": "",
|
|
"version": "0.2.1",
|
|
"author": {
|
|
"url": "https://github.com/vacp2p"
|
|
},
|
|
"devDependencies": {
|
|
"prettier": "^3.0.0",
|
|
"solhint-community": "^3.6.0",
|
|
"commit-and-tag-version": "^12.2.0"
|
|
},
|
|
"keywords": [
|
|
"blockchain",
|
|
"ethereum",
|
|
"forge",
|
|
"foundry",
|
|
"smart-contracts",
|
|
"solidity",
|
|
"template"
|
|
],
|
|
"private": true,
|
|
"scripts": {
|
|
"clean": "rm -rf cache out",
|
|
"lint": "pnpm lint:sol && pnpm prettier:check",
|
|
"verify": "pnpm verify:stake_manager && pnpm verify:mp_less_equal_max_mp && pnpm verify:karma && pnpm verify:emergency_mode",
|
|
"verify:stake_manager": "certoraRun certora/confs/StakeManager.conf",
|
|
"verify:mp_less_equal_max_mp": "certoraRun certora/confs/MPLessEqualMaxMP.conf",
|
|
"verify:emergency_mode": "certoraRun certora/confs/EmergencyMode.conf",
|
|
"verify:karma": "certoraRun certora/confs/Karma.conf",
|
|
"lint:sol": "forge fmt --check && pnpm solhint {script,src,test,certora}/**/*.sol",
|
|
"prettier:check": "prettier --check **/*.{json,md,yml} --ignore-path=.prettierignore",
|
|
"prettier:write": "prettier --write **/*.{json,md,yml} --ignore-path=.prettierignore",
|
|
"gas-report": "forge snapshot --gas-report 2>&1 | (tee /dev/tty | awk '/Suite result:/ {found=1; buffer=\"\"; next} found && !/Ran/ {buffer=buffer $0 ORS} /Ran/ {found=0} END {printf \"%s\", buffer}' > .gas-report)",
|
|
"release": "commit-and-tag-version",
|
|
"adorno": "pnpm prettier:write && forge fmt && pnpm gas-report"
|
|
}
|
|
}
|