-
Notifications
You must be signed in to change notification settings - Fork 40
/
Copy pathpackage.json
52 lines (52 loc) · 2.97 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": "@zoralabs/nouns-protocol",
"version": "1.2.0",
"private": false,
"repository": {
"type": "git",
"url": "https://github.com/ourzora/nouns-protocol.git"
},
"files": [
"dist/**/*",
"dist/*"
],
"license": "MIT",
"dependencies": {
"@openzeppelin/contracts": "^4.7.3",
"@openzeppelin/contracts-upgradeable": "^4.8.0-rc.1",
"@types/node": "^18.7.13",
"ds-test": "https://github.com/dapphub/ds-test.git",
"forge-std": "https://github.com/foundry-rs/forge-std",
"micro-onchain-metadata-utils": "^0.1.1",
"sol-uriencode": "^0.2.0"
},
"devDependencies": {
"husky": "^8.0.1",
"lint-staged": "^13.0.3",
"prettier": "^2.7.1",
"prettier-plugin-solidity": "^1.0.0-dev.23",
"solhint": "^3.3.7",
"solhint-plugin-prettier": "^0.0.5"
},
"lint-staged": {
"*.{ts,js,css,md,sol}": "prettier --write",
"*.sol": "solhint"
},
"scripts": {
"build": "forge build && rm -rf ./dist/artifacts/*/*.metadata.json",
"clean": "forge clean && rm -rf ./dist",
"prepublishOnly": "rm -rf ./dist && forge clean && mkdir -p ./dist/artifacts && yarn build && cp -R src dist && cp -R addresses dist",
"generate:interfaces": "forge script script/GetInterfaceIds.s.sol:GetInterfaceIds -vvvvv",
"deploy:dao": "source .env && forge script script/DeployNewDAO.s.sol:SetupDaoScript --private-key $PRIVATE_KEY --broadcast --rpc-url $RPC_URL -vvvv",
"deploy:local": "source .env && forge script script/DeployContracts.s.sol:DeployContracts --private-key $PRIVATE_KEY --broadcast --rpc-url $RPC_URL",
"deploy:v2-local": "source .env && forge script script/DeployContractsV2.s.sol:DeployContracts --private-key $PRIVATE_KEY --broadcast --rpc-url $RPC_URL",
"deploy:v2-core": "source .env && forge script script/DeployV2Core.s.sol:DeployContracts --private-key $PRIVATE_KEY --rpc-url $RPC_URL --broadcast --verify --etherscan-api-key $ETHERSCAN_API_KEY",
"deploy:v2-upgrade": "source .env && forge script script/DeployV2Upgrade.s.sol:DeployContracts --private-key $PRIVATE_KEY --rpc-url $RPC_URL --broadcast --verify --etherscan-api-key $ETHERSCAN_API_KEY",
"deploy:v2-new": "source .env && forge script script/DeployV2New.s.sol:DeployContracts --private-key $PRIVATE_KEY --rpc-url $RPC_URL --broadcast --verify --etherscan-api-key $ETHERSCAN_API_KEY",
"deploy:zora": "source .env && forge script script/DeployV2New.s.sol:DeployContracts --private-key $PRIVATE_KEY --rpc-url $RPC_URL --broadcast --verify --verifier blockscout --verifier-url https://explorer.zora.energy/api? -vvvv",
"test": "echo 'temporarily skipping metadata tests, remove this when fixed' && forge test --no-match-test 'WithAddress' -vvv",
"typechain": "typechain --target=ethers-v5 'dist/artifacts/*/*.json' --out-dir dist/typechain",
"storage-inspect:check": "./script/storage-check.sh check Manager Auction Governor Treasury Token",
"storage-inspect:generate": "./script/storage-check.sh generate Manager Auction Governor Treasury Token"
}
}