github.com/ethereum-optimism/optimism@v1.7.2/packages/sdk/package.json (about)

     1  {
     2    "name": "@eth-optimism/sdk",
     3    "version": "3.2.2",
     4    "description": "[Optimism] Tools for working with Optimism",
     5    "main": "dist/index",
     6    "types": "dist/index",
     7    "files": [
     8      "dist/*",
     9      "src/*"
    10    ],
    11    "scripts": {
    12      "all": "pnpm clean && pnpm build && pnpm test && pnpm lint:fix && pnpm lint",
    13      "build": "tsc -p tsconfig.json",
    14      "clean": "rimraf dist/ ./tsconfig.tsbuildinfo",
    15      "lint": "pnpm lint:fix && pnpm lint:check",
    16      "lint:check": "eslint . --max-warnings=0",
    17      "lint:fix": "pnpm lint:check --fix",
    18      "pre-commit": "lint-staged",
    19      "test": "hardhat test",
    20      "test:next": "vitest",
    21      "test:next:run": "vitest run",
    22      "test:coverage": "nyc hardhat test && nyc merge .nyc_output coverage.json",
    23      "autogen:docs": "typedoc --out docs src/index.ts"
    24    },
    25    "keywords": [
    26      "optimism",
    27      "ethereum",
    28      "sdk"
    29    ],
    30    "homepage": "https://github.com/ethereum-optimism/optimism/tree/develop/packages/sdk#readme",
    31    "license": "MIT",
    32    "author": "Optimism PBC",
    33    "repository": {
    34      "type": "git",
    35      "url": "https://github.com/ethereum-optimism/optimism.git"
    36    },
    37    "devDependencies": {
    38      "@ethersproject/abstract-provider": "^5.7.0",
    39      "@ethersproject/abstract-signer": "^5.7.0",
    40      "@ethersproject/transactions": "^5.7.0",
    41      "@nomiclabs/hardhat-ethers": "^2.2.3",
    42      "@nomiclabs/hardhat-waffle": "^2.0.1",
    43      "@types/chai": "^4.3.11",
    44      "@types/chai-as-promised": "^7.1.8",
    45      "@types/mocha": "^10.0.6",
    46      "@types/node": "^20.11.17",
    47      "@types/semver": "^7.5.7",
    48      "chai-as-promised": "^7.1.1",
    49      "ethereum-waffle": "^4.0.10",
    50      "ethers": "^5.7.2",
    51      "hardhat": "^2.20.1",
    52      "hardhat-deploy": "^0.11.44",
    53      "isomorphic-fetch": "^3.0.0",
    54      "mocha": "^10.2.0",
    55      "nyc": "^15.1.0",
    56      "ts-node": "^10.9.2",
    57      "typedoc": "^0.25.7",
    58      "typescript": "^5.3.3",
    59      "viem": "^2.7.19",
    60      "vitest": "^1.2.2",
    61      "zod": "^3.22.4"
    62    },
    63    "dependencies": {
    64      "@eth-optimism/contracts": "0.6.0",
    65      "@eth-optimism/contracts-bedrock": "workspace:*",
    66      "@eth-optimism/core-utils": "workspace:*",
    67      "lodash": "^4.17.21",
    68      "merkletreejs": "^0.3.11",
    69      "rlp": "^2.2.7",
    70      "semver": "^7.6.0"
    71    },
    72    "peerDependencies": {
    73      "ethers": "^5"
    74    }
    75  }