forked from communetxyz/mutual-vend-sc
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
48 lines (48 loc) · 2.13 KB
/
Copy pathpackage.json
File metadata and controls
48 lines (48 loc) · 2.13 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
{
"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 --account $MAINNET_DEPLOYER_NAME --broadcast --verify --chain mainnet -vvvvv'",
"deploy:sepolia": "bash -c 'source .env && forge script Deploy --rpc-url sepolia --account $SEPOLIA_DEPLOYER_NAME --broadcast --verify --chain sepolia -vvvvv'",
"lint:bulloak": "find test/unit -name '*.tree' | xargs bulloak check",
"lint:check": "forge fmt --check && yarn lint:sol",
"lint:fix": "forge fmt && yarn lint:sol --fix && sort-package-json",
"lint:natspec": "lintspec",
"lint:sol": "solhint 'src/**/*.sol' 'script/**/*.sol' 'test/**/*.sol'",
"prepare": "husky",
"test": "forge test -vvv",
"test:bulloak:fix": "bulloak check --fix ./**/*.tree",
"test:bulloak:scaffold": "bulloak scaffold -wS ./**/*.tree",
"test:integration": "forge test --match-contract Integration -vvv",
"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|script|test)/**/*.sol": "yarn lint:sol --fix",
"src/**/*.sol": "lintspec",
"test/unit/**/*.tree": "yarn lint:bulloak",
"package.json": "sort-package-json"
},
"devDependencies": {
"@commitlint/cli": "19.3.0",
"@commitlint/config-conventional": "19.2.2",
"forge-std": "github:foundry-rs/forge-std#1.9.2",
"husky": ">=9",
"lint-staged": ">=16",
"solhint-community": "4.0.1",
"solhint-config-wonderland": "0.0.1",
"sort-package-json": "3.4.0"
}
}