-
Notifications
You must be signed in to change notification settings - Fork 33
/
package.json
46 lines (46 loc) · 1.69 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
{
"name": "forge-template",
"author": "FrankieIsLost",
"version": "1.0.0",
"description": "A forge template",
"homepage": "https://github.com/FrankieIsLost/forge-template#readme",
"repository": {
"type": "git",
"url": "git+https://github.com/FrankieIsLost/forge-template.git"
},
"engines": {
"npm": "use-pnpm",
"yarn": "use-pnpm"
},
"scripts": {
"build": "chmod +x shell/* && ./shell/full_install.sh",
"prettier": "prettier --write 'src/**/*.sol'",
"prettier:list": "prettier --list-different 'src/**/*.sol'",
"prettier:check": "prettier --check 'src/**/*.sol'",
"solhint": "solhint --config ./.solhint.json 'src/**/*.sol' --fix",
"solhint:check": "solhint --config ./.solhint.json 'src/**/*.sol'",
"lint": "pnpm run prettier && pnpm run solhint",
"lint:check": "pnpm run prettier:check && pnpm run solhint:check",
"test": "./shell/test_all.sh",
"test:unit": "forge test --no-match-contract '(Fork|OCGProposal)' -vvv",
"test:fork": "forge test --match-contract \"$1.*Fork$\" --fork-url $FORK_TEST_RPC_URL -vvv",
"test:proposal": "forge test --match-contract OCGProposal --fork-url $FORK_TEST_RPC_URL -vvv",
"test:crosschainfork": "forge test --match-contract CrossChainBridgeFork -vvv",
"test:coverage": "./shell/test_coverage.sh",
"size": "forge build --sizes"
},
"devDependencies": {
"prettier": "^2.5.1",
"prettier-plugin-solidity": "^1.0.0-beta.19",
"solhint": "^3.3.7"
},
"prettier": {
"tabWidth": 4,
"singleQuote": false,
"bracketSpacing": false,
"printWidth": 100,
"plugins": [
"prettier-plugin-solidity"
]
}
}