{
  "name": "@human-protocol/core",
  "description": "Human Protocol Core Smart Contracts",
  "version": "7.1.0",
  "files": [
    "contracts/**/*.sol",
    "abis/**/*.json",
    "artifacts/@openzeppelin/**/[^.]*.json",
    "artifacts/contracts/**/[^.]*.json",
    "typechain-types/**/*.ts",
    "dist/typechain-types/**"
  ],
  "scripts": {
    "clean": "yarn clean:compile && yarn clean:build",
    "clean:compile": "hardhat clean && rm -rf abis cache artifacts typechain-types",
    "compile": "yarn clean:compile && hardhat compile",
    "verify": "hardhat verify",
    "test": "hardhat test",
    "test:coverage": "hardhat coverage",
    "local": "concurrently --hide 0 \"hardhat node --hostname 0.0.0.0\" \"yarn deploy:local\"",
    "local:liveness": "sh ./scripts/local-healthcheck.sh liveness",
    "local:readiness": "sh ./scripts/local-healthcheck.sh readiness",
    "deploy": "hardhat run scripts/deploy.ts",
    "deploy:local": "yarn deploy --network localhost",
    "deploy:proxy": "hardhat run scripts/deploy-proxies.ts",
    "upgrade:proxy": "hardhat run scripts/upgrade-proxies.ts",
    "upgrade:governor": "hardhat run scripts/upgrade-governor.ts",
    "deploy:hub": "hardhat run scripts/deploy-hub.ts",
    "deploy:spokes": "hardhat run scripts/deploy-spokes.ts",
    "update:spokes": "hardhat run scripts/update-spokes.ts",
    "hub:selfdelegate:vote": "hardhat run scripts/hub-selfdelegate-vote.ts",
    "spoke:selfdelegate:vote": "hardhat run scripts/spoke-selfdelegate-vote.ts",
    "create:proposal": "hardhat run scripts/create-proposal.ts",
    "lint": "eslint .",
    "lint:fix": "eslint . --fix",
    "format:contracts": "prettier --write '**/*.sol'",
    "format:scripts": "prettier --write '**/*.ts'",
    "format": "yarn format:contracts && yarn format:scripts",
    "clean:build": "tsc --build --clean && rm -rf dist",
    "build": "yarn compile && yarn clean:build && tsc --build",
    "prepack": "[ \"${SKIP_PREPACK:-}\" = \"true\" ] && exit 0 || yarn build"
  },
  "repository": {
    "type": "git",
    "url": "https://github.com/humanprotocol/human-protocol.git",
    "directory": "packages/core"
  },
  "keywords": [
    "human-protocol",
    "core",
    "solidity",
    "ethereum",
    "contracts"
  ],
  "license": "MIT",
  "devDependencies": {
    "@eslint/js": "^10.0.1",
    "@faker-js/faker": "^9.9.0",
    "@nomicfoundation/hardhat-chai-matchers": "^2.0.7",
    "@nomicfoundation/hardhat-ethers": "^3.1.0",
    "@nomicfoundation/hardhat-network-helpers": "^1.0.12",
    "@nomicfoundation/hardhat-toolbox": "^4.0.0",
    "@nomicfoundation/hardhat-verify": "^2.0.11",
    "@openzeppelin/contracts": "5.0.2",
    "@openzeppelin/contracts-upgradeable": "^4.9.2",
    "@openzeppelin/hardhat-upgrades": "^3.9.1",
    "@tenderly/hardhat-tenderly": "^2.0.1",
    "@typechain/ethers-v6": "^0.5.1",
    "@typechain/hardhat": "^9.1.0",
    "@types/chai": "^4.3.3",
    "@types/mocha": "^10.0.8",
    "@types/node": "^22.15.16",
    "chai": "^4.5.0",
    "concurrently": "^9.1.2",
    "eslint": "^10.1.0",
    "eslint-config-prettier": "^10.1.8",
    "eslint-plugin-prettier": "^5.5.6",
    "ethers": "~6.17.0",
    "globals": "^17.7.0",
    "hardhat": "^2.26.0",
    "hardhat-abi-exporter": "^2.10.1",
    "hardhat-contract-sizer": "^2.6.1",
    "hardhat-dependency-compiler": "^1.2.1",
    "hardhat-gas-reporter": "^2.0.2",
    "openpgp": "6.3.0",
    "prettier": "^3.8.1",
    "prettier-plugin-solidity": "^1.3.1",
    "solidity-coverage": "^0.8.17",
    "tenderly": "^0.9.1",
    "ts-node": "^10.9.2",
    "typechain": "^8.3.2",
    "typescript": "^5.8.3",
    "typescript-eslint": "^8.57.0",
    "xdeployer": "3.1.6"
  },
  "peerDependencies": {
    "ethers": "~6.17.0"
  },
  "lint-staged": {
    "*.sol": [
      "prettier --write"
    ],
    "*.ts": [
      "prettier --write",
      "eslint --fix"
    ]
  },
  "exports": {
    "./abis/*": "./abis/*",
    "./artifacts/*": "./artifacts/*",
    "./typechain-types": {
      "default": "./dist/typechain-types/index.js",
      "require": "./dist/typechain-types/index.js",
      "import": "./typechain-types/index.ts",
      "types": "./dist/typechain-types/index.d.ts"
    }
  }
}