forked from hai-on-op/core
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
59 lines (59 loc) · 3.06 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
{
"name": "hai",
"version": "0.1.3",
"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:goerli": "bash -c 'source .env && forge script DeployGoerli --with-gas-price 2000000000 -vvvvv --rpc-url $OP_GOERLI_RPC --broadcast --private-key $OP_GOERLI_DEPLOYER_PK --verify --etherscan-api-key $OP_ETHERSCAN_API_KEY'",
"deploy:mainnet": "bash -c 'source .env && forge script DeployMainnet --rpc-url $OP_MAINNET_RPC --broadcast --private-key $OP_MAINNET_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:goerli": "bash -c 'source .env && forge script GoerliScript --with-gas-price 2000000000 -vvvvv --rpc-url $OP_GOERLI_RPC --broadcast --private-key $OP_GOERLI_GOVERNOR_PK --verify --etherscan-api-key $OP_ETHERSCAN_API_KEY'",
"script:goerli:delegate": "bash -c 'source .env && forge script GoerliDelegate --with-gas-price 2000000000 -vvvvv --rpc-url $OP_GOERLI_RPC --broadcast --private-key $OP_GOERLI_GOVERNOR_PK --verify --etherscan-api-key $OP_ETHERSCAN_API_KEY'",
"test": "FOUNDRY_FUZZ_RUNS=128 FOUNDRY_FUZZ_MAX_TEST_REJECTS=1000000 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": "4.8.2",
"@uniswap/v3-periphery": "https://github.com/Uniswap/v3-periphery.git#0.8",
"forge-std": "https://github.com/foundry-rs/forge-std.git#e8a047e3f40f13fa37af6fe14e6e06283d9a060e"
},
"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"
}
}