{
  "name": "@eth-optimism/contracts-bedrock",
  "version": "0.16.2",
  "description": "Contracts for Optimism Specs",
  "license": "MIT",
  "files": [
    "forge-artifacts/**/*.json",
    "deployments/**/*.json",
    "src/**/*.sol"
  ],
  "scripts": {
    "bindings": "pnpm bindings:ts && pnpm bindings:go",
    "bindings:ts": "nx generate @eth-optimism/contracts-ts",
    "bindings:go:no-build": "cd ../../op-bindings && make bindings-build",
    "bindings:go": "pnpm clean && pnpm build && pnpm bindings:go:no-build",
    "prebuild": "./scripts/verify-foundry-install.sh",
    "build": "forge build",
    "build:go-ffi": "(cd scripts/go-ffi && go build)",
    "autogen:invariant-docs": "npx tsx scripts/invariant-doc-gen.ts",
    "test": "pnpm build:go-ffi && forge test",
    "coverage": "pnpm build:go-ffi && forge coverage",
    "coverage:lcov": "pnpm build:go-ffi && forge coverage --report lcov",
    "gas-snapshot:no-build": "forge snapshot --no-match-test 'testDiff|testFuzz|invariant|generateArtifact'",
    "gas-snapshot": "pnpm build:go-ffi && pnpm gas-snapshot:no-build",
    "storage-snapshot": "./scripts/storage-snapshot.sh",
    "semver-lock": "forge script scripts/SemverLock.s.sol",
    "validate-deploy-configs": "./scripts/check-deploy-configs.sh",
    "validate-spacers:no-build": "npx tsx scripts/validate-spacers.ts",
    "validate-spacers": "pnpm build && pnpm validate-spacers:no-build",
    "slither": "./scripts/slither.sh",
    "slither:triage": "TRIAGE_MODE=1 ./scripts/slither.sh",
    "clean": "rm -rf ./artifacts ./forge-artifacts ./cache ./tsconfig.tsbuildinfo ./tsconfig.build.tsbuildinfo ./scripts/go-ffi/go-ffi",
    "preinstall": "npx only-allow pnpm",
    "pre-pr:no-build": "pnpm gas-snapshot:no-build && pnpm storage-snapshot && pnpm semver-lock && pnpm autogen:invariant-docs && pnpm lint && pnpm bindings:go",
    "pre-pr": "pnpm clean && pnpm build:go-ffi && pnpm build && pnpm pre-pr:no-build",
    "pre-pr:full": "pnpm test && pnpm slither && pnpm validate-deploy-configs && pnpm validate-spacers && pnpm pre-pr",
    "lint:ts:check": "eslint . --max-warnings=0",
    "lint:forge-tests:check": "npx tsx scripts/forge-test-names.ts",
    "lint:contracts:check": "pnpm lint:fix && git diff --exit-code",
    "lint:check": "pnpm lint:contracts:check && pnpm lint:ts:check",
    "lint:ts:fix": "eslint --fix .",
    "lint:contracts:fix": "forge fmt",
    "lint:fix": "pnpm lint:contracts:fix && pnpm lint:ts:fix",
    "lint": "pnpm lint:fix && pnpm lint:check"
  },
  "devDependencies": {
    "@typescript-eslint/eslint-plugin": "^6.9.1",
    "@typescript-eslint/parser": "^6.9.1",
    "tsx": "^3.14.0",
    "typescript": "^5.2.2"
  }
}
