{
  "name": "@eth-optimism/contracts-ts",
  "version": "0.15.0",
  "description": "TypeScript interface for Contracts Bedrock",
  "license": "MIT",
  "repository": {
    "type": "git",
    "url": "https://github.com/ethereum-optimism/optimism.git",
    "directory": "packages/contracts-ts"
  },
  "homepage": "https://optimism.io",
  "type": "module",
  "main": "dist/constants.cjs",
  "module": "dist/constants.js",
  "types": "src/constants.ts",
  "exports": {
    ".": {
      "types": "./src/constants.ts",
      "import": "./dist/constants.js",
      "require": "./dist/constants.cjs"
    },
    "./actions": {
      "types": "./src/actions.ts",
      "import": "./dist/actions.js",
      "require": "./dist/actions.cjs"
    },
    "./react": {
      "types": "./src/react.ts",
      "import": "./dist/react.js",
      "require": "./dist/react.cjs"
    }
  },
  "files": [
    "dist/",
    "src/"
  ],
  "scripts": {
    "build": "tsup",
    "clean": "rm -rf ./dist",
    "preinstall": "npx only-allow pnpm",
    "generate": "wagmi generate && pnpm build && pnpm lint:fix",
    "generate:check": "pnpm generate && git diff --exit-code ./addresses.json && git diff --exit-code ./abis.json",
    "lint": "prettier --check .",
    "lint:fix": "prettier --write .",
    "test": "vitest",
    "test:coverage": "vitest run --coverage",
    "typecheck": "tsc --noEmit"
  },
  "devDependencies": {
    "@eth-optimism/contracts-bedrock": "workspace:*",
    "@testing-library/jest-dom": "^6.0.1",
    "@testing-library/react-hooks": "^8.0.1",
    "@types/glob": "^8.1.0",
    "@vitest/coverage-istanbul": "^0.34.1",
    "@wagmi/cli": "^1.3.0",
    "@wagmi/core": "^1.3.8",
    "abitype": "^0.9.3",
    "glob": "^10.3.3",
    "isomorphic-fetch": "^3.0.0",
    "jest-dom": "link:@types/@testing-library/jest-dom",
    "jsdom": "^22.1.0",
    "tsup": "^7.1.0",
    "typescript": "^5.1.6",
    "vite": "^4.4.6",
    "vitest": "^0.34.2"
  },
  "peerDependencies": {
    "@wagmi/core": ">1.0.0",
    "wagmi": ">1.0.0"
  },
  "peerDependenciesMeta": {
    "wagmi": {
      "optional": true
    },
    "@wagmi/core": {
      "optional": true
    }
  },
  "dependencies": {
    "@testing-library/react": "^14.0.0",
    "react": "^18.2.0",
    "react-dom": "^18.2.0",
    "viem": "^1.3.1"
  }
}
