Files
zeekay 62f00bc7fa Modernize e2e tests: Remove node-gyp dependencies and update to Node.js 24
- Switched from yarn to pnpm for better dependency management
- Updated to Node.js 24 in CI workflow
- Replaced deprecated packages with modern alternatives:
  - @nomiclabs/hardhat-* → @nomicfoundation/hardhat-*
  - ethers v5 → ethers v6
  - Removed packages that require node-gyp (waffle, old typechain)
- Updated hardhat to v2.22.0 with full Node.js 24 support
- Fixed test code for ethers v6 API changes
- Significantly reduced native dependencies (only keccak and secp256k1 remain)
2025-07-21 18:10:05 -05:00

33 lines
901 B
JSON

{
"name": "smart-contract-test",
"version": "1.0.0",
"description": "A test smart contract deployment",
"main": "index.js",
"license": "MIT",
"engines": {
"node": ">=20.0.0"
},
"dependencies": {
"hardhat": "^2.22.0"
},
"devDependencies": {
"@nomicfoundation/hardhat-chai-matchers": "^2.0.0",
"@nomicfoundation/hardhat-ethers": "^3.0.0",
"@nomicfoundation/hardhat-network-helpers": "^1.0.0",
"@nomicfoundation/hardhat-toolbox": "^5.0.0",
"@nomicfoundation/hardhat-verify": "^2.0.0",
"@typechain/ethers-v6": "^0.5.0",
"@typechain/hardhat": "^9.0.0",
"@types/chai": "^4.2.0",
"@types/mocha": ">=9.1.0",
"@types/node": ">=20.0.0",
"chai": "^4.2.0",
"ethers": "^6.0.0",
"hardhat-gas-reporter": "^1.0.8",
"solidity-coverage": "^0.8.0",
"ts-node": ">=8.0.0",
"typechain": "^8.3.0",
"typescript": ">=4.5.0"
}
}