forked from defi-wonderland/xERC20
-
Notifications
You must be signed in to change notification settings - Fork 2
/
package.json
52 lines (52 loc) · 2.33 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
{
"name": "solidity-foundry-boilerplate",
"version": "1.0.0",
"private": true,
"description": "Production ready Solidity boilerplate with Foundry",
"homepage": "https://github.com/defi-wonderland/xERC20#readme",
"repository": {
"type": "git",
"url": "git+https://github.com/defi-wonderland/xERC20.git"
},
"license": "MIT",
"author": "Wonderland",
"contributors": [
"0xGorilla (https://github.com/0xGorilla)",
"0xng (https://github.com/0xng)",
"gas1cent (https://github.com/gas1cent)"
],
"scripts": {
"build": "forge build --via-ir",
"build:optimized": "FOUNDRY_PROFILE=optimized forge build",
"coverage": "forge coverage --match-contract Unit",
"postinstall": "forge install",
"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:sol-logic": "solhint 'solidity/contracts/**/*.sol' 'solidity/interfaces/**/*.sol'",
"lint:sol-tests": "solhint -c .solhint.tests.json 'solidity/test/**/*.sol'",
"prepare": "husky install",
"script:DeployFactory": "forge script solidity/scripts/XERC20FactoryDeploy.sol:XERC20FactoryDeploy --legacy --via-ir",
"script:DeployFactory:broadcast": "forge script solidity/scripts/XERC20FactoryDeploy.sol:XERC20FactoryDeploy --legacy --broadcast --slow --via-ir --rpc-url https://artio.rpc.berachain.com/",
"script:DeployXERC20": "forge script solidity/scripts/XERC20Deploy.sol:XERC20Deploy --legacy --via-ir",
"script:DeployXERC20:broadcast": "forge script solidity/scripts/XERC20Deploy.sol:XERC20Deploy --legacy --broadcast --slow --via-ir",
"test": "forge test -vvv --via-ir",
"test:e2e": "forge test --match-contract E2E -vvv --via-ir",
"test:unit": "forge test --match-contract Unit -vvv --via-ir",
"test:unit:deep": "FOUNDRY_FUZZ_RUNS=5000 yarn test:unit --via-ir"
},
"lint-staged": {
"*.{js,css,md,ts,sol}": "forge fmt",
"*.sol": "solhint --fix 'solidity/**/*.sol'",
"package.json": "sort-package-json"
},
"devDependencies": {
"@commitlint/cli": "17.0.3",
"@commitlint/config-conventional": "17.0.3",
"cross-env": "7.0.3",
"husky": ">=8",
"lint-staged": "13.2.2",
"solhint": "3.5.1",
"solhint-plugin-defi-wonderland": "1.1.0",
"sort-package-json": "1.53.1"
}
}