generated from defi-wonderland/solidity-foundry-boilerplate
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
41 lines (41 loc) · 1.97 KB
/
package.json
File metadata and controls
41 lines (41 loc) · 1.97 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
{
"name": "credora-protocol",
"version": "1.0.0",
"description": "Credora Protocol - Decentralized Lending with Salary-Based Credit",
"license": "MIT",
"author": "Credora Team",
"scripts": {
"build": "forge build",
"build:optimized": "FOUNDRY_PROFILE=optimized forge build",
"coverage": "forge coverage --report summary --report lcov --match-path 'test/unit/*'",
"deploy": "bash -c 'source .env && forge script script/SimpleDeploy.s.sol --rpc-url $RPC_URL --account $DEPLOYER_NAME --broadcast --verify --chain $CHAIN_ID -vvvvv'",
"deploy:mainnet": "bash -c 'source .env && forge script script/SimpleDeploy.s.sol --rpc-url $MAINNET_RPC --account $MAINNET_DEPLOYER_NAME --broadcast --verify --chain mainnet -vvvvv'",
"deploy:sepolia": "bash -c 'source .env && forge script script/SimpleDeploy.s.sol --rpc-url $SEPOLIA_RPC --account $SEPOLIA_DEPLOYER_NAME --broadcast --verify --chain sepolia -vvvvv'",
"deploy:local": "forge script script/SimpleDeploy.s.sol --broadcast",
"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: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",
"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"
}
}