{
  "name": "@eth-optimism/contracts",
  "version": "0.5.15",
  "description": "[Optimism] L1 and L2 smart contracts for Optimism",
  "main": "dist/index",
  "types": "dist/index",
  "files": [
    "dist/**/*.js",
    "dist/**/*.d.ts",
    "dist/types/*.ts",
    "artifacts/contracts/**/*.json",
    "deployments/**/*.json",
    "chugsplash",
    "L1",
    "L2",
    "libraries",
    "standards"
  ],
  "scripts": {
    "build": "yarn build:contracts && yarn autogen:artifacts && yarn build:typescript",
    "build:typescript": "tsc -p ./tsconfig.build.json",
    "build:contracts": "hardhat compile --show-stack-traces",
    "build:dump": "ts-node bin/take-dump.ts",
    "autogen:markdown": "ts-node scripts/generate-markdown.ts",
    "autogen:artifacts": "ts-node scripts/generate-artifacts.ts && ts-node scripts/generate-deployed-artifacts.ts",
    "test": "yarn test:contracts",
    "test:contracts": "hardhat test --show-stack-traces",
    "test:coverage": "NODE_OPTIONS=--max_old_space_size=8192 hardhat coverage && istanbul check-coverage --statements 90 --branches 84 --functions 88 --lines 90",
    "test:slither": "slither .",
    "pretest:slither": "rm -f @openzeppelin && rm -f @ens && rm -f hardhat && ln -s ../../node_modules/@openzeppelin @openzeppelin && ln -s ../../node_modules/@ens @ens && ln -s ../../node_modules/hardhat hardhat",
    "posttest:slither": "rm -f @openzeppelin && rm -f @ens && rm -f hardhat",
    "lint:ts:check": "eslint . --max-warnings=0",
    "lint:contracts:check": "yarn solhint -f table 'contracts/**/*.sol'",
    "lint:check": "yarn lint:contracts:check && yarn lint:ts:check",
    "lint:ts:fix": "eslint --fix .",
    "lint:contracts:fix": "yarn prettier --write 'contracts/**/*.sol'",
    "lint:fix": "yarn lint:contracts:fix && yarn lint:ts:fix",
    "lint": "yarn lint:fix && yarn lint:check",
    "clean": "rm -rf ./dist ./artifacts ./cache ./coverage ./tsconfig.build.tsbuildinfo",
    "prepublishOnly": "yarn copyfiles -u 1 -e \"**/test-*/**/*\" \"contracts/**/*\" ./",
    "postpublish": "rimraf chugsplash L1 L2 libraries standards",
    "prepack": "yarn prepublishOnly",
    "postpack": "yarn postpublish",
    "pre-commit": "lint-staged",
    "validateDocs": "hardhat validateOutput"
  },
  "keywords": [
    "optimism",
    "ethereum",
    "contracts",
    "solidity"
  ],
  "homepage": "https://github.com/ethereum-optimism/optimism/tree/develop/packages/contracts#readme",
  "license": "MIT",
  "author": "Optimism PBC",
  "repository": {
    "type": "git",
    "url": "https://github.com/ethereum-optimism/optimism.git"
  },
  "dependencies": {
    "@eth-optimism/core-utils": "0.8.0",
    "@ethersproject/abstract-provider": "^5.5.1",
    "@ethersproject/abstract-signer": "^5.5.0",
    "@ethersproject/hardware-wallets": "^5.5.0"
  },
  "devDependencies": {
    "@codechecks/client": "^0.1.11",
    "@defi-wonderland/smock": "^2.0.2",
    "@eth-optimism/smock": "1.1.10",
    "@nomiclabs/ethereumjs-vm": "^4.2.2",
    "@nomiclabs/hardhat-ethers": "^2.0.2",
    "@nomiclabs/hardhat-etherscan": "^2.1.6",
    "@nomiclabs/hardhat-waffle": "^2.0.1",
    "@openzeppelin/contracts": "4.3.2",
    "@openzeppelin/contracts-upgradeable": "4.3.2",
    "@primitivefi/hardhat-dodoc": "^0.1.3",
    "@typechain/ethers-v5": "^8.0.2",
    "@typechain/hardhat": "^3.0.0",
    "@types/chai": "^4.2.18",
    "@types/lodash": "^4.14.168",
    "@types/mkdirp": "^1.0.1",
    "@types/mocha": "^8.2.2",
    "@typescript-eslint/eslint-plugin": "^4.26.0",
    "@typescript-eslint/parser": "^4.26.0",
    "babel-eslint": "^10.1.0",
    "chai": "^4.3.4",
    "copyfiles": "^2.3.0",
    "directory-tree": "^2.2.7",
    "dotenv": "^10.0.0",
    "eslint": "^7.27.0",
    "eslint-config-prettier": "^8.3.0",
    "eslint-plugin-import": "^2.23.4",
    "eslint-plugin-jsdoc": "^35.1.2",
    "eslint-plugin-prefer-arrow": "^1.2.3",
    "eslint-plugin-prettier": "^3.4.0",
    "eslint-plugin-react": "^7.24.0",
    "eslint-plugin-unicorn": "^32.0.1",
    "ethereum-waffle": "^3.3.0",
    "ethers": "^5.5.4",
    "glob": "^7.1.6",
    "hardhat": "^2.3.0",
    "hardhat-deploy": "^0.9.3",
    "hardhat-gas-reporter": "^1.0.4",
    "hardhat-output-validator": "^0.1.18",
    "istanbul": "^0.4.5",
    "lint-staged": "11.0.0",
    "lodash": "^4.17.21",
    "merkle-patricia-tree": "^4.0.0",
    "merkletreejs": "^0.2.18",
    "mkdirp": "^1.0.4",
    "mocha": "^8.4.0",
    "prettier": "^2.3.1",
    "prettier-plugin-solidity": "^1.0.0-beta.18",
    "random-bytes-seed": "^1.0.3",
    "rlp": "^2.2.6",
    "solhint": "^3.3.6",
    "solhint-plugin-prettier": "^0.0.5",
    "solidity-coverage": "^0.7.17",
    "ts-generator": "0.0.8",
    "ts-node": "^10.0.0",
    "typechain": "^6.0.2",
    "typescript": "^4.3.5",
    "yargs": "^16.2.0"
  },
  "peerDependencies": {
    "ethers": "^5"
  }
}
