{
  "name": "@eth-optimism/contracts-bedrock",
  "version": "0.16.0",
  "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": "pnpm generate:addresses && nx generate @eth-optimism/contracts-ts",
    "bindings:go": "cd ../../op-bindings && make",
    "build": "forge build",
    "prebuild": "./scripts/verify-foundry-install.sh",
    "build:differential": "go build -o ./scripts/differential-testing/differential-testing ./scripts/differential-testing",
    "build:fuzz": "(cd test-case-generator && go build ./cmd/fuzz.go)",
    "autogen:invariant-docs": "ts-node scripts/invariant-doc-gen.ts",
    "test": "pnpm build:differential && pnpm build:fuzz && forge test",
    "coverage": "pnpm build:differential && pnpm build:fuzz && forge coverage",
    "coverage:lcov": "pnpm build:differential && pnpm build:fuzz && forge coverage --report lcov",
    "gas-snapshot": "pnpm build:differential && pnpm build:fuzz && forge snapshot --no-match-test 'testDiff|testFuzz|invariant|generateArtifact'",
    "storage-snapshot": "./scripts/storage-snapshot.sh",
    "semver-lock": "forge script scripts/SemverLock.s.sol",
    "validate-deploy-configs": "./scripts/validate-deploy-configs.sh",
    "validate-spacers": "pnpm build && npx ts-node scripts/validate-spacers.ts",
    "slither": "./scripts/slither.sh",
    "slither:triage": "TRIAGE_MODE=1 ./scripts/slither.sh",
    "clean": "rm -rf ./dist ./artifacts ./forge-artifacts ./cache ./tsconfig.tsbuildinfo ./tsconfig.build.tsbuildinfo ./src/contract-artifacts.ts ./test-case-generator/fuzz",
    "preinstall": "npx only-allow pnpm",
    "lint:ts:check": "eslint . --max-warnings=0",
    "lint:forge-tests:check": "ts-node scripts/forge-test-names.ts",
    "lint:contracts:check": "pnpm solhint -f table 'src/**/!(WETH9|DisputeTypes|MIPS|RLPReader|EAS|SchemaRegistry|IEAS|ISchemaRegistry|SchemaResolver|EIP712Verifier|ISchemaResolver).sol' && pnpm prettier --check 'src/**/!(WETH9|DisputeTypes|MIPS|RLPReader|EAS|SchemaRegistry|IEAS|ISchemaRegistry|SchemaResolver|EIP712Verifier|ISchemaResolver).sol' && pnpm lint:forge-tests:check",
    "lint:check": "pnpm lint:contracts:check && pnpm lint:ts:check",
    "lint:ts:fix": "eslint --fix .",
    "lint:contracts:fix": "pnpm solhint --fix 'src/**/!(WETH9|DisputeTypes|MIPS|RLPReader|EAS|SchemaRegistry|IEAS|ISchemaRegistry|SchemaResolver|EIP712Verifier|ISchemaResolver).sol' && pnpm prettier --write 'src/**/!(WETH9|DisputeTypes|MIPS|RLPReader|EAS|SchemaRegistry|IEAS|ISchemaRegistry|SchemaResolver|EIP712Verifier|ISchemaResolver).sol'",
    "lint:fix": "pnpm lint:contracts:fix && pnpm lint:ts:fix",
    "lint": "pnpm lint:fix && pnpm lint:check"
  },
  "devDependencies": {
    "@typescript-eslint/eslint-plugin": "^5.60.1",
    "@typescript-eslint/parser": "^5.60.1",
    "solhint": "^3.4.1",
    "solhint-plugin-prettier": "^0.0.5",
    "ts-node": "^10.9.1",
    "typescript": "^4.9.3"
  }
}
