-
Notifications
You must be signed in to change notification settings - Fork 50
/
package.json
51 lines (51 loc) · 2.37 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
{
"name": "xerc20",
"version": "1.0.1",
"private": true,
"description": "A standard for bridged tokens. A common interface to be used across different implementations of bridges to keep liquidity concentrated and improve user experience on-chain.",
"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": [
"excaliborr (https://github.com/excaliborr)",
"shaito (https://github.com/0xShaito)"
],
"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 --verify --slow --via-ir",
"script:DeployXERC20": "forge script solidity/scripts/XERC20Deploy.sol:XERC20Deploy --legacy --via-ir",
"script:DeployXERC20:broadcast": "forge script solidity/scripts/XERC20Deploy.sol:XERC20Deploy --legacy --broadcast --verify --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"
}
}