{
  "name": "@metamask/rpc-methods",
  "version": "3.0.0",
  "description": "MetaMask Snap RPC method implementations.",
  "repository": {
    "type": "git",
    "url": "https://github.com/MetaMask/snaps.git"
  },
  "sideEffects": false,
  "main": "./dist/cjs/index.js",
  "module": "./dist/esm/index.js",
  "types": "./dist/types/index.d.ts",
  "files": [
    "dist/cjs/**",
    "dist/esm/**",
    "dist/types/**"
  ],
  "scripts": {
    "test": "jest && yarn posttest",
    "posttest": "jest-it-up --margin 0.25",
    "test:ci": "yarn test",
    "lint:eslint": "eslint . --cache --ext js,ts,jsx,tsx",
    "lint:misc": "prettier --no-error-on-unmatched-pattern --loglevel warn \"**/*.json\" \"**/*.md\" \"**/*.html\" \"!CHANGELOG.md\" --ignore-path ../../.gitignore",
    "lint": "yarn lint:eslint && yarn lint:misc --check && yarn lint:changelog && yarn lint:dependencies",
    "lint:fix": "yarn lint:eslint --fix && yarn lint:misc --write",
    "lint:changelog": "../../scripts/validate-changelog.sh @metamask/rpc-methods",
    "build": "yarn build:source && yarn build:types",
    "build:source": "yarn build:esm && yarn build:cjs",
    "build:types": "tsc --project tsconfig.build.json",
    "build:esm": "swc src --out-dir dist/esm --config-file ../../.swcrc.build.json --config module.type=es6",
    "build:cjs": "swc src --out-dir dist/cjs --config-file ../../.swcrc.build.json --config module.type=commonjs",
    "build:clean": "yarn clean && yarn build",
    "clean": "rimraf '*.tsbuildinfo' 'dist'",
    "prepare-manifest:preview": "../../scripts/prepare-preview-manifest.sh",
    "publish:preview": "yarn npm publish --tag preview",
    "lint:ci": "yarn lint",
    "lint:dependencies": "depcheck"
  },
  "dependencies": {
    "@metamask/key-tree": "^9.0.0",
    "@metamask/permission-controller": "^4.1.2",
    "@metamask/snaps-ui": "^3.0.0",
    "@metamask/snaps-utils": "^3.0.0",
    "@metamask/types": "^1.1.0",
    "@metamask/utils": "^8.1.0",
    "@noble/hashes": "^1.3.1",
    "eth-rpc-errors": "^4.0.3",
    "superstruct": "^1.0.3"
  },
  "devDependencies": {
    "@lavamoat/allow-scripts": "^2.5.1",
    "@metamask/auto-changelog": "^3.3.0",
    "@metamask/browser-passworder": "^4.1.0",
    "@metamask/eslint-config": "^12.1.0",
    "@metamask/eslint-config-jest": "^12.1.0",
    "@metamask/eslint-config-nodejs": "^12.1.0",
    "@metamask/eslint-config-typescript": "^12.1.0",
    "@swc/cli": "^0.1.62",
    "@swc/core": "1.3.78",
    "@swc/jest": "^0.2.26",
    "@types/node": "18.14.2",
    "@typescript-eslint/eslint-plugin": "^5.42.1",
    "@typescript-eslint/parser": "^5.42.1",
    "deepmerge": "^4.2.2",
    "depcheck": "^1.4.5",
    "eslint": "^8.27.0",
    "eslint-config-prettier": "^8.5.0",
    "eslint-plugin-import": "^2.26.0",
    "eslint-plugin-jest": "^27.1.5",
    "eslint-plugin-jsdoc": "^39.6.2",
    "eslint-plugin-n": "^15.7.0",
    "eslint-plugin-prettier": "^4.2.1",
    "eslint-plugin-promise": "^6.1.1",
    "expect-type": "^0.15.0",
    "jest": "^29.0.2",
    "jest-it-up": "^2.0.0",
    "json-rpc-engine": "^6.1.0",
    "prettier": "^2.7.1",
    "prettier-plugin-packagejson": "^2.2.11",
    "rimraf": "^4.1.2",
    "typescript": "~4.8.4"
  },
  "engines": {
    "node": "^18.16 || >=20"
  },
  "publishConfig": {
    "access": "public",
    "registry": "https://registry.npmjs.org/"
  }
}