-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
37 lines (37 loc) · 1.25 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
{
"name": "@prb/foundry-template",
"description": "Foundry-based template for developing Solidity smart contracts",
"version": "1.0.0",
"author": {
"name": "Paul Razvan Berg",
"url": "https://github.com/PaulRBerg"
},
"devDependencies": {
"dotenv-run-script": "^0.3.0",
"prettier": "^3.0.0",
"solhint-community": "^3.6.0"
},
"keywords": [
"blockchain",
"ethereum",
"forge",
"foundry",
"smart-contracts",
"solidity",
"template"
],
"private": true,
"scripts": {
"forge": "forge",
"build": "forge build",
"clean": "forge clean",
"lint": "pnpm lint:sol && pnpm prettier:check",
"lint:sol": "forge fmt --check && pnpm solhint {script,src,test}/**/*.sol",
"prettier:check": "prettier --check **/*.{json,md,yml} --ignore-path=.prettierignore",
"prettier:write": "prettier --write **/*.{json,md,yml} --ignore-path=.prettierignore",
"test:mainnet": "forge test -vv --fork-url $MAINNET_RPC_URL --fork-block-number $MAINNET_FORK_NUMBER",
"test": "dotenv-run-script test:mainnet",
"deploy:goerli": "forge script script/GasTankModule.s.sol:GasTankModuleScript --rpc-url $GOERLI_RPC_URL -vvvv --broadcast --verify",
"run:deploy:goerli": "dotenv-run-script deploy:goerli"
}
}