forked from open-dollar/od-contracts
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
60 lines (60 loc) · 3.88 KB
/
package.json
File metadata and controls
60 lines (60 loc) · 3.88 KB
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": "@opendollar/contracts",
"version": "1.5.6",
"private": true,
"description": "Multicollateral ETH backed stablecoin",
"homepage": "https://www.opendollar.com/",
"repository": {
"type": "git",
"url": "https://github.com/UseKeyp/od-contracts"
},
"license": "MIT",
"author": "Keyp",
"contributors": [
"cupOJoseph (https://github.com/cupOJoseph)",
"daopunk (https://github.com/daopunk)",
"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:anvil": "bash -c 'source .env && forge script DeployAnvil --with-gas-price 2000000000 -vvvvv --rpc-url $ANVIL_RPC --private-key $ANVIL_ONE --broadcast --ffi'",
"deploy:goerli": "bash -c 'source .env && forge script DeployGoerli --with-gas-price 2000000000 -vvvvv --rpc-url $GOERLI_RPC --private-key $GOERLI_DEPLOYER_PK --broadcast --verify --etherscan-api-key $ETHERSCAN_API_KEY'",
"deploy:goerli:ffi": "bash -c 'source .env && forge script DeployGoerli --with-gas-price 2000000000 -vvvvv --rpc-url $GOERLI_RPC --private-key $GOERLI_DEPLOYER_PK --broadcast --verify --etherscan-api-key $ETHERSCAN_API_KEY --ffi'",
"deploy:mainnet": "bash -c 'source .env && forge script DeployMainnet --rpc-url $MAINNET_RPC --broadcast --private-key $MAINNET_DEPLOYER_PK --verify --etherscan-api-key $ETHERSCAN_API_KEY'",
"deploy:mainnet:ffi": "bash -c 'source .env && forge script DeployMainnet --rpc-url $MAINNET_RPC --broadcast --private-key $MAINNET_DEPLOYER_PK --verify --etherscan-api-key $ETHERSCAN_API_KEY --ffi'",
"postinstall": "forge install",
"lint:check": "yarn lint:sol && forge fmt --check",
"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 $GOERLI_RPC --broadcast --private-key $GOERLI_GOVERNOR_PK --verify --etherscan-api-key $ETHERSCAN_API_KEY'",
"script:goerli:delegate": "bash -c 'source .env && forge script GoerliDelegate --with-gas-price 2000000000 -vvvvv --rpc-url $GOERLI_RPC --broadcast --private-key $GOERLI_GOVERNOR_PK --verify --etherscan-api-key $ETHERSCAN_API_KEY'",
"simulate-deploy:goerli:ffi": "bash -c 'source .env && forge script DeployGoerli --with-gas-price 2000000000 -vvvvv --rpc-url $GOERLI_RPC --private-key $GOERLI_DEPLOYER_PK --ffi'",
"simulate-deploy:mainnet:ffi": "bash -c 'source .env && forge script DeployMainnet --rpc-url $MAINNET_RPC --private-key $MAINNET_DEPLOYER_PK --ffi'",
"test": "FOUNDRY_FUZZ_RUNS=128 FOUNDRY_FUZZ_MAX_TEST_REJECTS=1000000 forge test -vvv --ffi",
"test:e2e": "forge test --match-contract E2E -vvv --ffi",
"test:local": "FOUNDRY_FUZZ_RUNS=32 FOUNDRY_FUZZ_MAX_TEST_REJECTS=1000000 forge test -vvv --ffi",
"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 --ffi",
"test:unit:deep": "FOUNDRY_FUZZ_RUNS=1024 FOUNDRY_FUZZ_MAX_TEST_REJECTS=10000000 forge test --match-contract Unit -vvvvv --ffi"
},
"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",
"solhint": "3.4.1",
"solhint-plugin-defi-wonderland": "1.1.0",
"sort-package-json": "1.53.1"
}
}