-
Notifications
You must be signed in to change notification settings - Fork 83
/
package.json
executable file
·96 lines (96 loc) · 3.98 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
{
"name": "@ethereum-attestation-service/eas-contracts",
"version": "1.8.0",
"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",
"lint": "pnpm lint:sol && pnpm lint:ts",
"lint:sol": "solhint --max-warnings 0 contracts/**/*.sol",
"lint:ts": "pnpm eslint components/**/*.ts test/**/*.ts utils/**/*.ts",
"format": "prettier --check --write contracts/**/*.sol *.ts components/**/*.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",
"@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/mocha": "^10.0.7",
"@types/node": "^22.1.0",
"chai-bigint": "^0.2.0",
"copyfiles": "^2.4.1",
"decimal.js": "^10.4.3",
"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",
"hardhat-contract-sizer": "^2.10.0",
"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"
}
}