mirror of https://github.com/logos-co/staking.git
37 lines
1.6 KiB
JSON
37 lines
1.6 KiB
JSON
{
|
|
"name": "@logos-co/staking",
|
|
"description": "SNT staking contracts",
|
|
"version": "0.1.0",
|
|
"author": {},
|
|
"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_vault && pnpm verify:stake_manager && pnpm verify:stake_manager_start_migration && pnpm verify:stake_manager_process",
|
|
"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 test --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)",
|
|
"verify:stake_vault": "certoraRun certora/confs/StakeVault.conf",
|
|
"verify:stake_manager": "certoraRun certora/confs/StakeManager.conf",
|
|
"verify:stake_manager_start_migration": "certoraRun certora/confs/StakeManagerStartMigration.conf",
|
|
"verify:stake_manager_process": "certoraRun certora/confs/StakeManagerProcess.conf",
|
|
"release": "commit-and-tag-version",
|
|
"adorno": "pnpm prettier:write && forge fmt && forge snapshot && pnpm gas-report"
|
|
}
|
|
}
|