@openzeppelin/hardhat-upgrades
Version:
[](https://docs.openzeppelin.com/upgrades-plugins/hardhat-upgrades) [](https://www.npmjs.org/package/@openzeppelin/h
97 lines (96 loc) • 2.88 kB
JSON
{
"name": "@openzeppelin/hardhat-upgrades",
"version": "4.1.0",
"description": "",
"type": "module",
"repository": "https://github.com/OpenZeppelin/openzeppelin-upgrades",
"license": "MIT",
"main": "dist/index.js",
"types": "dist/index.d.ts",
"exports": {
".": {
"types": "./dist/index.d.ts",
"default": "./dist/index.js"
},
"./ethers": {
"types": "./dist/ethers.d.ts",
"default": "./dist/ethers.js"
},
"./viem": {
"types": "./dist/viem/index.d.ts",
"default": "./dist/viem/index.js"
},
"./package.json": "./package.json"
},
"files": [
"/dist",
"/src"
],
"bin": {
"migrate-oz-cli-project": "dist/scripts/migrate-oz-cli-project.js"
},
"scripts": {
"clean": "rimraf dist *.tsbuildinfo",
"compile": "tsc -b && hardhat compile",
"prepare": "tsc -b",
"test": "tsc -b && tsc --noEmit -p test/types && bash scripts/test.sh",
"test:watch": "fgbg 'bash scripts/test.sh --watch' 'tsc -b --watch' --",
"test:examples": "cd examples/BoxTransparent && npm install && npm test && cd ../BoxUUPS && npm install && npm test && cd ../BoxViem && npm install && npm test && cd ../BoxSolidityTests && npm install && npm test",
"test:types": "tsc -b && tsc --noEmit -p test/types"
},
"devDependencies": {
"@nomicfoundation/hardhat-ethers": "^4.0.0",
"@nomicfoundation/hardhat-verify": "^3.0.10",
"@nomicfoundation/hardhat-viem": "3.0.8",
"@openzeppelin/contracts": "5.3.0",
"@openzeppelin/contracts-upgradeable": "5.3.0",
"@openzeppelin/foundry-upgrades": "^0.4.1-alpha.0",
"@types/mocha": "^7.0.2",
"ava": "^6.0.0",
"dotenv": "^16.0.0",
"esmock": "^2.7.3",
"fgbg": "^0.1.4",
"forge-std": "github:foundry-rs/forge-std#v1.16.1",
"hardhat": "^3.6.0",
"promisified": "^0.5.0",
"rimraf": "^5.0.0",
"sinon": "^20.0.0",
"viem": "^2.47.6"
},
"peerDependencies": {
"@nomicfoundation/hardhat-ethers": "^4.0.0",
"@nomicfoundation/hardhat-verify": "^3.0.10",
"@nomicfoundation/hardhat-viem": "^3.0.0",
"ethers": "^6.14.0",
"hardhat": "^3.6.0",
"viem": "^2.30.0"
},
"peerDependenciesMeta": {
"@nomicfoundation/hardhat-ethers": {
"optional": true
},
"@nomicfoundation/hardhat-verify": {
"optional": true
},
"@nomicfoundation/hardhat-viem": {
"optional": true
},
"ethers": {
"optional": true
},
"viem": {
"optional": true
}
},
"dependencies": {
"@openzeppelin/defender-sdk-base-client": "^2.1.0",
"@openzeppelin/defender-sdk-deploy-client": "^2.1.0",
"@openzeppelin/defender-sdk-network-client": "^2.1.0",
"@openzeppelin/upgrades-core": "^1.45.0",
"chalk": "^4.1.0",
"debug": "^4.1.1",
"ethereumjs-util": "^7.1.5",
"proper-lockfile": "^4.1.1",
"undici": "^8.3.0"
}
}