-
Notifications
You must be signed in to change notification settings - Fork 16
/
package.json
60 lines (60 loc) · 3.1 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
54
55
56
57
58
59
60
{
"name": "hai",
"version": "1.0.6",
"description": "Multicollateral debt backed stablecoin",
"homepage": "https://github.com/hai-on-op/hai#readme",
"repository": {
"type": "git",
"url": "git+https://github.com/hai-on-op/hai.git"
},
"license": "MIT",
"author": "Wonderland",
"contributors": [
"wei3erHase (https://github.com/wei3erHase)",
"0xGorilla (https://github.com/0xGorilla)",
"0xJabberwock (https://github.com/0xJabberwock)",
"0xRaccoon (https://github.com/0xRaccoon)"
],
"scripts": {
"build": "forge build",
"coverage": "forge coverage",
"deploy:mainnet": "bash -c 'source .env && forge script DeployMainnet -vvvvv --rpc-url $OP_MAINNET_RPC --broadcast --private-key $OP_MAINNET_DEPLOYER_PK --verify --etherscan-api-key $OP_ETHERSCAN_API_KEY'",
"deploy:testnet": "bash -c 'source .env && forge script DeployTestnet -vvvvv --rpc-url $OP_SEPOLIA_RPC --broadcast --private-key $OP_SEPOLIA_DEPLOYER_PK --verify --etherscan-api-key $OP_ETHERSCAN_API_KEY'",
"docs:build": "./build-docs.sh",
"docs:run": "mdbook serve docs",
"lint:check": "yarn lint:sol && forge fmt",
"lint:fix": "sort-package-json && forge fmt && yarn lint:sol --fix",
"lint:sol": "cross-env solhint 'src/**/*.sol' 'test/**/*.sol'",
"prepare": "husky install",
"script:mainnet": "bash -c 'source .env && forge script MainnetScript -vvvvv --rpc-url $OP_MAINNET_RPC --broadcast --private-key $OP_MAINNET_DEPLOYER_PK --verify --etherscan-api-key $OP_ETHERSCAN_API_KEY'",
"script:testnet": "bash -c 'source .env && forge script TestnetScript -vvvvv --rpc-url $OP_SEPOLIA_RPC --broadcast --private-key $OP_SEPOLIA_DEPLOYER_PK --verify --etherscan-api-key $OP_ETHERSCAN_API_KEY'",
"test": "FOUNDRY_FUZZ_RUNS=128 FOUNDRY_FUZZ_MAX_TEST_REJECTS=10000000 FOUNDRY_FUZZ_SEED=69 forge test -vvv",
"test:e2e": "forge test --match-contract E2E -vvv",
"test:local": "FOUNDRY_FUZZ_RUNS=32 FOUNDRY_FUZZ_MAX_TEST_REJECTS=1000000 forge test -vvv",
"test:simulation": "forge test --match-contract Simulation --ffi",
"test:unit": "FOUNDRY_FUZZ_RUNS=128 FOUNDRY_FUZZ_MAX_TEST_REJECTS=1000000 forge test --match-contract Unit -vvv",
"test:unit:deep": "FOUNDRY_FUZZ_RUNS=1024 FOUNDRY_FUZZ_MAX_TEST_REJECTS=10000000 forge test --match-contract Unit -vvvvv"
},
"lint-staged": {
"*.{js,css,md,ts,sol}": "forge fmt",
"*.sol": "cross-env solhint --fix 'src/**/*.sol",
"package.json": "sort-package-json"
},
"dependencies": {
"@defi-wonderland/solidity-utils": "0.0.0-4298c6c6",
"@openzeppelin/contracts": "5.0.1",
"@uniswap/v3-periphery": "https://github.com/Uniswap/v3-periphery.git#0.8",
"ds-test": "https://github.com/dapphub/ds-test.git#e282159d5170298eb2455a6c05280ab5a73a4ef0",
"forge-std": "https://github.com/foundry-rs/forge-std.git#155d547c449afa8715f538d69454b83944117811"
},
"devDependencies": {
"@commitlint/cli": "17.0.3",
"@commitlint/config-conventional": "17.0.3",
"cross-env": "7.0.3",
"husky": ">=8",
"lint-staged": ">=10",
"solhint": "3.4.1",
"solhint-plugin-defi-wonderland": "1.1.0",
"sort-package-json": "1.53.1"
}
}