-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
69 lines (69 loc) · 4.35 KB
/
package.json
File metadata and controls
69 lines (69 loc) · 4.35 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
61
62
63
64
65
66
67
68
69
{
"name": "shift",
"private": true,
"workspaces": [
"apps/*",
"packages/*"
],
"engines": {
"node": ">=22"
},
"scripts": {
"fmt": "prettier -w 'contracts/**/*.sol' 'scripts/**/*.{ts,js}' 'test/**/*.{ts,js,sol}' '*.{ts,json}'",
"lint": "solhint --max-warnings 10000 'contracts/**/*.sol'",
"lint:fix": "solhint 'contracts/**/*.sol' --fix",
"quality": "npm run lint && npm run forge:test && npm run cov:gate",
"sanity": "npm run quality && echo '✅ All quality checks passed!'",
"hh:compile": "npx hardhat compile",
"hh:test": "npx hardhat test",
"deploy:hardhat": "npx hardhat run scripts/hardhat/deploy-hardhat-staged.ts --network hardhat",
"deploy:base-sepolia": "npx hardhat run scripts/hardhat/deploy-shared-infra.ts --network base_sepolia && npx hardhat run scripts/hardhat/deploy-community-stack.ts --network base_sepolia && npx hardhat run scripts/hardhat/post-deploy-role-wiring.ts --network base_sepolia && npx hardhat run scripts/hardhat/verify-community-deployment.ts --network base_sepolia",
"deploy:base": "npx hardhat run scripts/hardhat/deploy-shared-infra.ts --network base && npx hardhat run scripts/hardhat/deploy-community-stack.ts --network base && npx hardhat run scripts/hardhat/post-deploy-role-wiring.ts --network base && npx hardhat run scripts/hardhat/verify-community-deployment.ts --network base",
"deploy:ethereum-sepolia": "npx hardhat run scripts/hardhat/deploy-shared-infra.ts --network ethereum_sepolia && npx hardhat run scripts/hardhat/deploy-community-stack.ts --network ethereum_sepolia && npx hardhat run scripts/hardhat/post-deploy-role-wiring.ts --network ethereum_sepolia && npx hardhat run scripts/hardhat/verify-community-deployment.ts --network ethereum_sepolia",
"deploy:ethereum": "npx hardhat run scripts/hardhat/deploy-shared-infra.ts --network ethereum && npx hardhat run scripts/hardhat/deploy-community-stack.ts --network ethereum && npx hardhat run scripts/hardhat/post-deploy-role-wiring.ts --network ethereum && npx hardhat run scripts/hardhat/verify-community-deployment.ts --network ethereum",
"deploy:shared-infra": "npx hardhat run scripts/hardhat/deploy-shared-infra.ts",
"deploy:community-stack": "npx hardhat run scripts/hardhat/deploy-community-stack.ts",
"deploy:community-stack:factory": "npx hardhat run scripts/hardhat/factory-deploy.ts",
"deploy:wire-community": "npx hardhat run scripts/hardhat/post-deploy-role-wiring.ts",
"deploy:verify-community": "npx hardhat run scripts/hardhat/verify-community-deployment.ts",
"forge:test": "forge test -vvv",
"forge:build": "forge build && node scripts/copy-ponder-abis.js && node scripts/copy-web-abis.js",
"forge:cov": "forge coverage --report lcov --ir-minimum",
"cov:gate": "bash ./scripts/check-coverage.sh",
"build": "npm run forge:build && npm run hh:compile",
"test": "npm run forge:test",
"manage:cohorts": "npx hardhat run scripts/manage-cohorts.ts",
"admin": "npx hardhat run scripts/manage-communities.ts",
"admin:create": "ADMIN_CMD=create npx hardhat run scripts/manage-communities.ts",
"admin:grant-role": "ADMIN_CMD=grant-role npx hardhat run scripts/manage-communities.ts",
"admin:set-params": "ADMIN_CMD=set-params npx hardhat run scripts/manage-communities.ts",
"admin:timelock": "ADMIN_CMD=timelock-roles npx hardhat run scripts/manage-communities.ts",
"verify:base-sepolia": "npx hardhat run scripts/verify-base-sepolia.ts --network base_sepolia",
"check:balance": "npx hardhat run scripts/check-balance.ts --network",
"check:engagements": "npx hardhat run scripts/check-claim-status.ts --network",
"dev:generate-wallets": "./scripts/generate-wallets.sh",
"generate:composer-allowlist": "pnpm exec ts-node --esm scripts/generate-draft-composer-allowlist.ts"
},
"devDependencies": {
"@nomicfoundation/hardhat-ethers": "^3.0.6",
"@nomicfoundation/hardhat-toolbox": "^5.0.0",
"@types/chai": "^4.3.0",
"@types/node": "^22.0.0",
"chai": "^4.4.0",
"dotenv": "^16.4.0",
"hardhat": "^2.22.0",
"prettier": "^3.3.0",
"prettier-plugin-solidity": "^2.2.0",
"solhint": "^6.0.1",
"ts-node": "^10.9.2",
"typescript": "^5.5.0"
},
"dependencies": {
"@openzeppelin/contracts": "^5.1.0"
},
"pnpm": {
"patchedDependencies": {
"follow-redirects@1.15.11": "patches/follow-redirects@1.15.11.patch"
}
}
}