-
Notifications
You must be signed in to change notification settings - Fork 35
/
Copy pathpackage.json
53 lines (53 loc) · 2.45 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
{
"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/*.sh && ./shell/full_install.sh",
"prettier": "prettier --no-error-on-unmatched-pattern --write 'src/**/*.sol' '**/*.html' '**/*.sh'",
"prettier:list": "prettier --no-error-on-unmatched-pattern --list-different 'src/**/*.sol' '**/*.html' '**/*.sh'",
"prettier:check": "prettier --no-error-on-unmatched-pattern --check 'src/**/*.sol' '**/*.html' '**/*.sh'",
"solhint": "solhint --config ./.solhint.json 'src/**/*.sol' --fix",
"solhint:check": "solhint --config ./.solhint.json 'src/**/*.sol'",
"markdownlint": "markdownlint --fix '**/*.md'",
"markdownlint:check": "markdownlint '**/*.md'",
"lint": "pnpm run prettier && pnpm run solhint && pnpm run markdownlint",
"lint:check": "pnpm run prettier:check && pnpm run solhint:check && pnpm run markdownlint:check",
"test": "./shell/test_all.sh",
"test:unit": "forge test --no-match-contract '(Fork)' --no-match-path 'src/test/proposals/*.t.sol' -vvv",
"test:fork": "forge test --match-contract 'Fork' --no-match-contract 'CrossChainBridgeFork' --fork-url $FORK_TEST_RPC_URL -vvv",
"test:proposal": "forge test --match-path 'src/test/proposals/*.t.sol' --fork-url $FORK_TEST_RPC_URL -vvv",
"test:crosschainfork": "forge test --match-contract 'CrossChainBridgeFork' -vvv",
"test:coverage": "./shell/test_coverage.sh",
"size": "forge clean && forge build --sizes --skip test --skip '*/*Mock*.sol' --skip 'UniswapDeployer.sol'",
"metrics": "node shell/metrics.js"
},
"devDependencies": {
"markdownlint-cli": "^0.42.0",
"prettier": "^3.0.3",
"prettier-plugin-sh": "^0.14.0",
"prettier-plugin-solidity": "^1.0.0-beta.19",
"solhint": "^3.3.7",
"solidity-code-metrics": "^0.0.25"
},
"prettier": {
"tabWidth": 4,
"singleQuote": false,
"bracketSpacing": false,
"printWidth": 100,
"plugins": [
"prettier-plugin-solidity",
"prettier-plugin-sh"
]
}
}