-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
executable file
·123 lines (123 loc) · 6.49 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
{
"name": "@ethereum-attestation-service/eas-contracts",
"version": "1.2.0-beta.1",
"description": "Ethereum Attestation Service",
"repository": {
"type": "git",
"url": "git+https://github.com/ethereum-attestation-service/eas-contracts"
},
"author": "Leonid Beder <leonid@lbeder.com>",
"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/arbitrum-one/**/*",
"/deployments/optimism/**/*",
"/deployments/base/**/*",
"/deployments/linea/**/*",
"/deployments/sepolia/**/*",
"/deployments/optimism-goerli/**/*",
"/deployments/base-goerli/**/*",
"/deployments/arbitrum-goerli/**/*",
"/deployments/polygon-mumbai/**/*",
"/deployments/linea-goerli/**/*"
],
"scripts": {
"compile": "hardhat compile",
"recompile": "pnpm clean && pnpm compile",
"test": "hardhat test",
"test:coverage": "hardhat coverage",
"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 --no-exit 'deploy/tests/**/*.ts'",
"deploy:prepare": "rm -rf ./node_modules && rm pnpm.lock && pnpm && pnpm recompile",
"deploy:mainnet": "HARDHAT_NETWORK=mainnet hardhat deploy",
"deploy:arbitrum-one": "HARDHAT_NETWORK=arbitrum-one hardhat deploy",
"deploy:optimism": "HARDHAT_NETWORK=optimism hardhat deploy",
"deploy:base": "HARDHAT_NETWORK=base hardhat deploy",
"deploy:linea": "HARDHAT_NETWORK=linea hardhat deploy",
"deploy:sepolia": "HARDHAT_NETWORK=sepolia hardhat deploy",
"deploy:optimism-goerli": "HARDHAT_NETWORK=optimism-goerli hardhat deploy",
"deploy:base-goerli": "HARDHAT_NETWORK=base-goerli hardhat deploy",
"deploy:arbitrum-goerli": "HARDHAT_NETWORK=arbitrum-goerli hardhat deploy",
"deploy:polygon-mumbai": "HARDHAT_NETWORK=polygon-mumbai hardhat deploy",
"deploy:linea-goerli": "HARDHAT_NETWORK=linea-goerli hardhat deploy",
"verify:mainnet": "HARDHAT_NETWORK=mainnet hardhat etherscan-verify --license MIT",
"verify:arbitrum-one": "HARDHAT_NETWORK=arbitrum-one 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: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-goerli": "HARDHAT_NETWORK=optimism-goerli hardhat etherscan-verify --license MIT --api-url https://api-goerli-optimism.etherscan.io",
"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-mumbai": "HARDHAT_NETWORK=polygon-mumbai hardhat etherscan-verify --license MIT --api-url https://api-mumbai.polygonscan.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 data deploy test utils",
"format": "prettier --check --write contracts/**/*.sol *.ts components/**/*.ts data/**/*.ts deploy/**/*.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",
"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.18.2"
},
"devDependencies": {
"@ethersproject/hardware-wallets": "^5.7.0",
"@ianvs/prettier-plugin-sort-imports": "^4.1.1",
"@nomicfoundation/hardhat-ethers": "^3.0.4",
"@nomicfoundation/hardhat-toolbox": "^3.0.0",
"@nomiclabs/hardhat-solhint": "^3.0.1",
"@openzeppelin/contracts": "4.9.3",
"@typechain/ethers-v6": "^0.5.1",
"@types/chai": "^4.3.9",
"@types/chance": "^1.1.5",
"@types/mocha": "^10.0.3",
"@types/node": "^20.8.7",
"@typescript-eslint/eslint-plugin": "^6.9.0",
"@typescript-eslint/parser": "^6.9.0",
"chai-bigint": "^0.2.0",
"chance": "^1.1.11",
"copyfiles": "^2.4.1",
"decimal.js": "^10.4.3",
"dotenv": "^16.3.1",
"eslint": "^8.52.0",
"eslint-config-prettier": "^9.0.0",
"eslint-config-standard": "^17.1.0",
"eslint-plugin-import": "^2.29.0",
"eslint-plugin-n": "^16.2.0",
"eslint-plugin-node": "^11.1.0",
"eslint-plugin-promise": "^6.1.1",
"ethereumjs-util": "^7.1.5",
"ethers": "^6.8.0",
"glob": "^10.3.10",
"hardhat-contract-sizer": "^2.10.0",
"hardhat-deploy": "^0.11.43",
"hardhat-deploy-ethers": "^0.4.1",
"mocha": "^10.2.0",
"mocha-silent-reporter": "^1.0.0",
"prettier": "^3.0.3",
"prettier-package-json": "^2.8.0",
"prettier-plugin-solidity": "^1.1.3",
"solc": "0.8.21",
"solhint": "^3.6.2",
"ts-node": "^10.9.1",
"typescript": "^5.2.2"
}
}