{
  "name": "@metamask/snaps-rpc-methods",
  "version": "17.1.0",
  "description": "MetaMask Snaps JSON-RPC method implementations",
  "keywords": [
    "MetaMask",
    "Snaps",
    "Ethereum"
  ],
  "homepage": "https://github.com/MetaMask/snaps/tree/main/packages/snaps-rpc-methods#readme",
  "bugs": {
    "url": "https://github.com/MetaMask/snaps/issues"
  },
  "repository": {
    "type": "git",
    "url": "https://github.com/MetaMask/snaps.git"
  },
  "license": "SEE LICENSE IN LICENSE",
  "sideEffects": false,
  "exports": {
    ".": {
      "import": {
        "types": "./dist/index.d.mts",
        "default": "./dist/index.mjs"
      },
      "require": {
        "types": "./dist/index.d.cts",
        "default": "./dist/index.cjs"
      }
    },
    "./package.json": "./package.json"
  },
  "main": "./dist/index.cjs",
  "module": "./dist/index.mjs",
  "types": "./dist/index.d.cts",
  "files": [
    "dist"
  ],
  "scripts": {
    "build": "ts-bridge --project tsconfig.build.json --verbose --clean --no-references",
    "build:post": "yarn build:schema",
    "build:schema": "tsx ./scripts/generate-schema.mts",
    "changelog:update": "../../scripts/update-changelog.sh @metamask/snaps-rpc-methods",
    "changelog:validate": "../../scripts/validate-changelog.sh @metamask/snaps-rpc-methods",
    "lint": "yarn lint:eslint && yarn lint:misc --check && yarn changelog:validate && yarn lint:dependencies",
    "lint:ci": "yarn lint",
    "lint:dependencies": "depcheck",
    "lint:eslint": "eslint . --cache",
    "lint:fix": "yarn lint:eslint --fix && yarn lint:misc --write",
    "lint:misc": "prettier --no-error-on-unmatched-pattern --log-level warn \"**/*.json\" \"**/*.md\" \"**/*.html\" \"!CHANGELOG.md\" --ignore-path ../../.gitignore",
    "publish:preview": "yarn npm publish --tag preview",
    "since-latest-release": "../../scripts/since-latest-release.sh",
    "test": "jest --reporters=jest-silent-reporter",
    "test:clean": "jest --clearCache",
    "test:post": "jest-it-up",
    "test:verbose": "jest --verbose",
    "test:watch": "jest --watch"
  },
  "dependencies": {
    "@metamask/key-tree": "^10.1.1",
    "@metamask/permission-controller": "^13.1.1",
    "@metamask/rpc-errors": "^7.0.3",
    "@metamask/snaps-sdk": "^11.2.0",
    "@metamask/snaps-utils": "^12.3.0",
    "@metamask/superstruct": "^3.3.0",
    "@metamask/utils": "^11.11.0",
    "@noble/hashes": "^1.7.1",
    "async-mutex": "^0.5.0"
  },
  "devDependencies": {
    "@lavamoat/allow-scripts": "^4.0.0",
    "@metamask/auto-changelog": "^6.1.1",
    "@metamask/json-rpc-engine": "^10.5.0",
    "@metamask/messenger": "^2.0.0",
    "@swc/core": "1.11.31",
    "@swc/jest": "^0.2.38",
    "@ts-bridge/cli": "^0.6.1",
    "@types/node": "18.14.2",
    "deepmerge": "^4.2.2",
    "depcheck": "^1.4.7",
    "eslint": "^9.11.0",
    "jest": "^29.0.2",
    "jest-it-up": "^2.0.0",
    "jest-silent-reporter": "^0.6.0",
    "prettier": "^3.3.3",
    "ts-morph": "^27.0.2",
    "tsx": "^4.20.3",
    "typescript": "~5.3.3"
  },
  "engines": {
    "node": "^20 || >=22"
  },
  "publishConfig": {
    "access": "public",
    "registry": "https://registry.npmjs.org/"
  }
}