-
Notifications
You must be signed in to change notification settings - Fork 78
/
package.json
executable file
·146 lines (146 loc) · 8.34 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
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
{
"name": "@ethereum-attestation-service/eas-contracts",
"version": "1.7.2",
"description": "Ethereum Attestation Service",
"repository": {
"type": "git",
"url": "git+https://github.com/ethereum-attestation-service/eas-contracts"
},
"author": "Leonid Beder <[email protected]>",
"license": "MIT",
"main": "dist/typechain-types/index.js",
"types": "dist/typechain-types/index.d.ts",
"files": [
"**/*.sol",
"!/contracts/tests/**/*",
"/artifacts/contracts",
"!/artifacts/contracts/tests/**/*",
"/dist/typechain-types",
"!/dist/typechain-types/contracts/tests/**/*",
"!/dist/typechain-types/factories/contracts/tests/**/*",
"!/deployments/hardhat/**/*",
"/deployments/mainnet/**/*",
"/deployments/optimism/**/*",
"/deployments/base/**/*",
"/deployments/arbitrum-one/**/*",
"/deployments/arbitrum-nova/**/*",
"/deployments/polygon/**/*",
"/deployments/scroll/**/*",
"/deployments/zksync/**/*",
"/deployments/celo/**/*",
"/deployments/linea/**/*",
"/deployments/sepolia/**/*",
"/deployments/optimism-sepolia/**/*",
"/deployments/optimism-goerli/**/*",
"/deployments/base-sepolia/**/*",
"/deployments/base-goerli/**/*",
"/deployments/arbitrum-goerli/**/*",
"/deployments/polygon-amoy/**/*",
"/deployments/scroll-sepolia/**/*",
"/deployments/linea-goerli/**/*"
],
"scripts": {
"compile": "hardhat compile",
"recompile": "pnpm clean && pnpm compile",
"test": "hardhat test",
"test:coverage": "hardhat coverage --solcoverjs .solcover.ts",
"test:profile": "PROFILE=1 pnpm test",
"test:deploy": "find ./deployments/hardhat -type f -not -name '.chainId' -exec rm -f {} + && HARDHAT_NETWORK=hardhat pnpm mocha --require hardhat/register --extension ts --recursive --exit --timeout 600000 --bail 'deploy/tests/**/*.ts'",
"deploy:prepare": "rm -rf ./node_modules && rm pnpm.lock && pnpm && pnpm recompile",
"deploy:mainnet": "HARDHAT_NETWORK=mainnet hardhat deploy",
"deploy:optimism": "HARDHAT_NETWORK=optimism hardhat deploy",
"deploy:base": "HARDHAT_NETWORK=base hardhat deploy",
"deploy:arbitrum-one": "HARDHAT_NETWORK=arbitrum-one hardhat deploy",
"deploy:arbitrum-nova": "HARDHAT_NETWORK=arbitrum-nova hardhat deploy",
"deploy:polygon": "HARDHAT_NETWORK=polygon hardhat deploy",
"deploy:scroll": "HARDHAT_NETWORK=scroll hardhat deploy",
"deploy:zksync": "HARDHAT_NETWORK=zksync hardhat deploy",
"deploy:celo": "HARDHAT_NETWORK=celo hardhat deploy",
"deploy:linea": "HARDHAT_NETWORK=linea hardhat deploy",
"deploy:sepolia": "HARDHAT_NETWORK=sepolia hardhat deploy",
"deploy:optimism-sepolia": "HARDHAT_NETWORK=optimism-sepolia hardhat deploy",
"deploy:optimism-goerli": "HARDHAT_NETWORK=optimism-goerli hardhat deploy",
"deploy:base-sepolia": "HARDHAT_NETWORK=base-sepolia hardhat deploy",
"deploy:base-goerli": "HARDHAT_NETWORK=base-goerli hardhat deploy",
"deploy:arbitrum-goerli": "HARDHAT_NETWORK=arbitrum-goerli hardhat deploy",
"deploy:polygon-amoy": "HARDHAT_NETWORK=polygon-amoy hardhat deploy",
"deploy:scroll-sepolia": "HARDHAT_NETWORK=scroll-sepolia hardhat deploy",
"deploy:linea-goerli": "HARDHAT_NETWORK=linea-goerli hardhat deploy",
"verify:mainnet": "HARDHAT_NETWORK=mainnet hardhat etherscan-verify --license MIT",
"verify:optimism": "HARDHAT_NETWORK=optimism hardhat etherscan-verify --license MIT --api-url https://api-optimistic.etherscan.io",
"verify:base": "HARDHAT_NETWORK=base hardhat etherscan-verify --license MIT --api-url https://api.basescan.org",
"verify:arbitrum-one": "HARDHAT_NETWORK=arbitrum-one hardhat etherscan-verify --license MIT",
"verify:arbitrum-nova": "HARDHAT_NETWORK=arbitrum-nova hardhat etherscan-verify --license MIT --api-url https://api-nova.arbiscan.io",
"verify:polygon": "HARDHAT_NETWORK=polygon hardhat etherscan-verify --license MIT",
"verify:scroll": "HARDHAT_NETWORK=scroll hardhat etherscan-verify --license MIT --api-url https://api.scrollscan.com",
"verify:zksync": "HARDHAT_NETWORK=zksync hardhat run scripts/verify.ts",
"verify:celo": "HARDHAT_NETWORK=celo hardhat etherscan-verify --license MIT --api-url https://api.celoscan.io",
"verify:linea": "HARDHAT_NETWORK=linea hardhat etherscan-verify --license MIT --api-url https://api.lineascan.build",
"verify:sepolia": "HARDHAT_NETWORK=sepolia hardhat etherscan-verify --license MIT --api-url https://api-sepolia.etherscan.io",
"verify:optimism-sepolia": "HARDHAT_NETWORK=optimism-sepolia hardhat etherscan-verify --license MIT --api-url https://api-sepolia-optimism.etherscan.io",
"verify:optimism-goerli": "HARDHAT_NETWORK=optimism-goerli hardhat etherscan-verify --license MIT --api-url https://api-goerli-optimism.etherscan.io",
"verify:base-sepolia": "HARDHAT_NETWORK=base-sepolia hardhat etherscan-verify --license MIT --api-url https://api-sepolia.basescan.org",
"verify:base-goerli": "HARDHAT_NETWORK=base-goerli hardhat etherscan-verify --license MIT --api-url https://api-goerli.basescan.org",
"verify:arbitrum-goerli": "HARDHAT_NETWORK=arbitrum-goerli hardhat etherscan-verify --license MIT",
"verify:polygon-amoy": "HARDHAT_NETWORK=polygon-amoy hardhat etherscan-verify --license MIT --api-url https://api-amoy.polygonscan.com/",
"verify:scroll-sepolia": "HARDHAT_NETWORK=scroll-sepolia hardhat etherscan-verify --license MIT --api-url https://api-sepolia.scrollscan.com",
"verify:linea-goerli": "HARDHAT_NETWORK=linea-goerli hardhat etherscan-verify --license MIT --api-url https://api-goerli.lineascan.build",
"lint": "pnpm lint:sol && pnpm lint:ts",
"lint:sol": "solhint --max-warnings 0 contracts/**/*.sol",
"lint:ts": "pnpm eslint components/**/*.ts data/**/*.ts deploy/**/*.ts scripts/**/*.ts test/**/*.ts utils/**/*.ts",
"format": "prettier --check --write contracts/**/*.sol *.ts components/**/*.ts data/**/*.ts deploy/**/*.ts scripts/**/*.ts test/**/*.ts utils/**/*.ts --config .prettierrc",
"size": "hardhat size-contracts",
"verify": "hardhat verify",
"flatten": "hardhat flatten",
"clean": "rm -rf artifacts cache dist coverage typechain-types out artifacts-zk cache-zk",
"prepare": "pnpm compile",
"export-types": "pnpm delete-test-types && tsc -p tsconfig.release.json && copyfiles -u 1 \"typechain-types/**/*.d.ts\" dist/typechain-types && pnpm restore-test-types",
"delete-test-types": "sed -i.bak '/tests/d' typechain-types/index.ts typechain-types/contracts/index.ts typechain-types/factories/contracts/index.ts && mv typechain-types/hardhat.d.ts typechain-types/hardhat.d.ts.bak",
"restore-test-types": "mv typechain-types/index.ts.bak typechain-types/index.ts && mv typechain-types/contracts/index.ts.bak typechain-types/contracts/index.ts && mv typechain-types/factories/contracts/index.ts.bak typechain-types/factories/contracts/index.ts && mv typechain-types/hardhat.d.ts.bak typechain-types/hardhat.d.ts",
"prepare:release": "pnpm prepare && pnpm export-types && pnpm lint && pnpm test"
},
"dependencies": {
"hardhat": "2.22.8"
},
"devDependencies": {
"@ianvs/prettier-plugin-sort-imports": "^4.3.1",
"@matterlabs/hardhat-zksync-deploy": "^1.3.0",
"@matterlabs/hardhat-zksync-solc": "^1.1.4",
"@matterlabs/hardhat-zksync-verify": "^1.4.3",
"@nomicfoundation/hardhat-ethers": "^3.0.6",
"@nomicfoundation/hardhat-toolbox": "^5.0.0",
"@nomiclabs/hardhat-solhint": "^4.0.0",
"@openzeppelin/contracts": "5.0.2",
"@typechain/ethers-v6": "^0.5.1",
"@types/chai": "^4.3.17",
"@types/chance": "^1.1.6",
"@types/mocha": "^10.0.7",
"@types/node": "^22.1.0",
"chai-bigint": "^0.2.0",
"chance": "^1.1.12",
"copyfiles": "^2.4.1",
"decimal.js": "^10.4.3",
"dotenv": "^16.4.5",
"eslint": "^9.8.0",
"eslint-config-prettier": "^9.1.0",
"eslint-plugin-chai-friendly": "^1.0.1",
"eslint-plugin-import": "^2.29.1",
"ethereumjs-util": "^7.1.5",
"ethers": "^6.13.2",
"glob": "^11.0.0",
"hardhat-contract-sizer": "^2.10.0",
"hardhat-deploy": "^0.12.4",
"hardhat-deploy-ethers": "^0.4.2",
"mocha": "^10.7.0",
"mocha-silent-reporter": "^1.0.0",
"prettier": "^3.3.3",
"prettier-package-json": "^2.8.0",
"prettier-plugin-solidity": "^1.3.1",
"solc": "0.8.27",
"solhint": "^5.0.3",
"ts-node": "^10.9.2",
"typescript": "^5.5.4",
"typescript-eslint": "^8.0.1",
"zksync-ethers": "^6.7.1"
}
}