|
12 | 12 | "dotenv-run-script": "^0.4.1" |
13 | 13 | }, |
14 | 14 | "devDependencies": { |
| 15 | + "@nomicfoundation/hardhat-foundry": "^1.1.3", |
| 16 | + "@nomicfoundation/hardhat-toolbox": "^5.0.0", |
| 17 | + "@nomiclabs/hardhat-ethers": "^2.2.3", |
| 18 | + "@typechain/ethers-v5": "^11.1.2", |
| 19 | + "@typechain/ethers-v6": "^0.5.1", |
| 20 | + "@typechain/hardhat": "^9.1.0", |
| 21 | + "@types/node": "^22.10.7", |
| 22 | + "ethers": "^5.7.2", |
15 | 23 | "forge-std": "github:foundry-rs/forge-std#v1.8.1", |
| 24 | + "hardhat": "^2.22.18", |
16 | 25 | "prettier": "^3.0.0", |
17 | | - "solhint": "^3.6.2" |
| 26 | + "solhint": "^3.6.2", |
| 27 | + "ts-generator": "^0.1.1", |
| 28 | + "ts-node": "^10.8.0", |
| 29 | + "tsx": "^4.19.1", |
| 30 | + "typechain": "patch:typechain@npm%3A8.3.2#~/.yarn/patches/typechain-npm-8.3.2-b02e27439e.patch", |
| 31 | + "typescript": "5.3.3" |
18 | 32 | }, |
| 33 | + "type": "module", |
| 34 | + "exports": { |
| 35 | + ".": "./dist/index.js", |
| 36 | + "./mailbox": "./dist/contracts/Mailbox.js", |
| 37 | + "./buildArtifact.js": "./dist/buildArtifact.js", |
| 38 | + "./buildArtifact.json": "./dist/buildArtifact.json", |
| 39 | + "./contracts": "./contracts" |
| 40 | + }, |
| 41 | + "types": "./dist/index.d.ts", |
| 42 | + "files": [ |
| 43 | + "/dist", |
| 44 | + "/contracts" |
| 45 | + ], |
19 | 46 | "keywords": [], |
20 | 47 | "private": true, |
21 | 48 | "scripts": { |
22 | | - "clean": "rm -rf cache out && forge clean", |
23 | | - "build": "forge build", |
| 49 | + "clean": "yarn hardhat-esm clean && rm -rf ./dist ./cache ./types ./coverage ./out ./forge-cache ./fixtures && forge clean", |
| 50 | + "build": "yarn hardhat-esm compile && tsc && ./exportBuildArtifact.sh", |
| 51 | + "hardhat-esm": "NODE_OPTIONS='--experimental-loader ts-node/esm/transpile-only --no-warnings=ExperimentalWarning' hardhat --config hardhat.config.cts", |
| 52 | + "forge:build": "forge build", |
24 | 53 | "lint": "yarn lint:sol && yarn prettier:check", |
25 | 54 | "lint:sol": "forge fmt --check && solhint \"{script,src,test}/**/*.sol\"", |
26 | 55 | "sol:fmt": "forge fmt", |
|
0 commit comments