mirror of
https://github.com/0xbow-io/privacy-pools-core.git
synced 2026-01-10 09:58:00 -05:00
47 lines
2.1 KiB
JSON
47 lines
2.1 KiB
JSON
{
|
|
"name": "solidity-foundry-boilerplate",
|
|
"version": "1.0.0",
|
|
"description": "Production ready Solidity boilerplate with Foundry",
|
|
"homepage": "https://github.com/defi-wonderland/solidity-foundry-boilerplate#readme",
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "git+https://github.com/defi-wonderland/solidity-foundry-boilerplate.git"
|
|
},
|
|
"license": "MIT",
|
|
"author": "Wonderland",
|
|
"scripts": {
|
|
"build": "forge build",
|
|
"build:optimized": "FOUNDRY_PROFILE=optimized forge build",
|
|
"coverage": "forge coverage --report summary --report lcov --match-path 'test/unit/*'",
|
|
"deploy:mainnet": "bash -c 'source .env && forge script Deploy --rpc-url $MAINNET_RPC --account $MAINNET_DEPLOYER_NAME --broadcast --verify --chain mainnet -vvvvv'",
|
|
"deploy:sepolia": "bash -c 'source .env && forge script Deploy --rpc-url $SEPOLIA_RPC --account $SEPOLIA_DEPLOYER_NAME --broadcast --verify --chain sepolia -vvvvv'",
|
|
"lint:check": "yarn lint:sol && forge fmt --check",
|
|
"lint:fix": "sort-package-json && forge fmt && yarn lint:sol --fix",
|
|
"lint:natspec": "npx @defi-wonderland/natspec-smells --config natspec-smells.config.js",
|
|
"lint:sol": "solhint 'src/**/*.sol' 'script/**/*.sol' 'test/**/*.sol'",
|
|
"prepare": "husky",
|
|
"test": "forge test -vvv",
|
|
"test:fuzz": "medusa fuzz",
|
|
"test:integration": "forge test --match-contract Integration -vvv",
|
|
"test:symbolic": "halmos",
|
|
"test:unit": "forge test --match-contract Unit -vvv",
|
|
"test:unit:deep": "FOUNDRY_FUZZ_RUNS=5000 yarn test:unit"
|
|
},
|
|
"lint-staged": {
|
|
"*.{js,css,md,ts,sol}": "forge fmt",
|
|
"(src|test|script)/**/*.sol": "yarn lint:sol",
|
|
"package.json": "sort-package-json"
|
|
},
|
|
"devDependencies": {
|
|
"@commitlint/cli": "19.3.0",
|
|
"@commitlint/config-conventional": "19.2.2",
|
|
"@defi-wonderland/natspec-smells": "1.1.3",
|
|
"forge-std": "github:foundry-rs/forge-std#1.9.2",
|
|
"halmos-cheatcodes": "github:a16z/halmos-cheatcodes#c0d8655",
|
|
"husky": ">=9",
|
|
"lint-staged": ">=10",
|
|
"solhint-community": "4.0.0",
|
|
"sort-package-json": "2.10.0"
|
|
}
|
|
}
|