generated from defi-wonderland/solidity-foundry-boilerplate
-
Notifications
You must be signed in to change notification settings - Fork 9
/
package.json
59 lines (59 loc) · 4.03 KB
/
package.json
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
49
50
51
52
53
54
55
56
57
58
59
{
"name": "op-usdc",
"version": "1.0.0",
"description": "opUSDC, a USDC bridge for any OP Stack chain's canonical bridge",
"license": "MIT",
"author": "Wonderland",
"scripts": {
"build": "forge build",
"build:optimized": "FOUNDRY_PROFILE=optimized forge build",
"coverage": "forge coverage --match-contract Unit",
"deploy:mainnet:factory": "forge clean && dotenv -e .env -- sh -c 'forge script script/DeployL1Factory.s.sol:DeployL1Factory --via-ir -vv --rpc-url $ETHEREUM_RPC'",
"deploy:mainnet:factory:broadcast": "forge clean && dotenv -e .env -- sh -c 'forge script script/DeployL1Factory.s.sol:DeployL1Factory --via-ir --broadcast -vv --rpc-url $ETHEREUM_RPC'",
"deploy:mainnet:protocol": "forge clean && dotenv -e .env -- sh -c 'forge script script/DeployProtocol.s.sol:DeployProtocol --via-ir -vv --rpc-url $ETHEREUM_RPC'",
"deploy:mainnet:protocol:broadcast": "forge clean && dotenv -e .env -- sh -c 'forge script script/DeployProtocol.s.sol:DeployProtocol --slow --via-ir --broadcast -vv --rpc-url $ETHEREUM_RPC'",
"deploy:testnet:factory": "forge clean && dotenv -e .env.testnet -- sh -c 'forge script script/DeployL1Factory.s.sol:DeployL1Factory --via-ir -vv --rpc-url $ETHEREUM_RPC'",
"deploy:testnet:factory:broadcast": "forge clean && dotenv -e .env.testnet -- sh -c 'forge script script/DeployL1Factory.s.sol:DeployL1Factory --via-ir --broadcast -vv --rpc-url $ETHEREUM_RPC'",
"deploy:testnet:protocol": "forge clean && dotenv -e .env.testnet -- sh -c 'forge script script/DeployProtocol.s.sol:DeployProtocol --via-ir -vv --rpc-url $ETHEREUM_RPC'",
"deploy:testnet:protocol:broadcast": "forge clean && dotenv -e .env.testnet -- sh -c 'forge script script/DeployProtocol.s.sol:DeployProtocol --slow --via-ir --broadcast -vv --rpc-url $ETHEREUM_RPC'",
"lint:check": "yarn lint:sol-tests && yarn lint:sol-logic && forge fmt --check",
"lint:fix": "sort-package-json && forge fmt && yarn lint:sol-tests --fix && yarn lint:sol-logic --fix",
"lint:natspec": "npx @defi-wonderland/natspec-smells --config natspec-smells.config.js",
"lint:sol-logic": "solhint -c .solhint.json 'src/**/*.sol' 'script/**/*.sol'",
"lint:sol-tests": "solhint -c .solhint.tests.json 'test/**/*.sol'",
"migrate:mainnet": "forge clean && dotenv -e .env -- sh -c 'forge script script/MigrateToNative.s.sol --via-ir --rpc-url $ETHEREUM_RPC'",
"migrate:mainnet:broadcast": "forge clean && dotenv -e .env -- sh -c 'forge script script/MigrateToNative.s.sol --broadcast --via-ir --rpc-url $ETHEREUM_RPC'",
"migrate:testnet": "forge clean && dotenv -e .env.testnet -- sh -c 'forge script script/MigrateToNative.s.sol --via-ir --rpc-url $ETHEREUM_RPC'",
"migrate:testnet:broadcast": "forge clean && dotenv -e .env.testnet -- sh -c 'forge script script/MigrateToNative.s.sol --broadcast --via-ir --rpc-url $ETHEREUM_RPC'",
"prepare": "husky init",
"test": "forge test -vvv",
"test:fuzz": "echidna test/invariants/fuzz/OpUSDC.t.sol --config test/invariants/fuzz/OpUsdc.yaml --contract FuzzOpUsdc",
"test:integration": "forge test --match-contract Integration -vvv",
"test:symb": "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|script)/**/*.sol": "yarn lint:sol-logic",
"test/**/*.sol": "yarn lint:sol-tests",
"package.json": "sort-package-json"
},
"dependencies": {
"@openzeppelin/contracts": "5.0.2",
"@openzeppelin/contracts-upgradeable": "5.0.2"
},
"devDependencies": {
"@commitlint/cli": "17.0.3",
"@commitlint/config-conventional": "17.0.3",
"@defi-wonderland/natspec-smells": "1.0.3",
"dotenv-cli": "7.4.2",
"ds-test": "github:dapphub/ds-test#e282159",
"forge-std": "github:foundry-rs/forge-std#1.8.2",
"halmos-cheatcodes": "github:a16z/halmos-cheatcodes#c0d8655",
"husky": "9.1.6",
"lint-staged": "15.2.0",
"solhint": "github:solhint-community/solhint-community#v4.0.0-rc01",
"sort-package-json": "1.53.1"
}
}