{
  "name": "@metamask/snaps-utils",
  "version": "12.2.0",
  "description": "A collection of utilities for MetaMask Snaps",
  "keywords": [
    "MetaMask",
    "Snaps",
    "Ethereum"
  ],
  "homepage": "https://github.com/MetaMask/snaps/tree/main/packages/snaps-utils#readme",
  "bugs": {
    "url": "https://github.com/MetaMask/snaps/issues"
  },
  "repository": {
    "type": "git",
    "url": "https://github.com/MetaMask/snaps.git"
  },
  "license": "ISC",
  "sideEffects": false,
  "exports": {
    ".": {
      "import": {
        "types": "./dist/index.d.mts",
        "default": "./dist/index.mjs"
      },
      "require": {
        "types": "./dist/index.d.cts",
        "default": "./dist/index.cjs"
      }
    },
    "./node": {
      "import": {
        "types": "./dist/node.d.mts",
        "default": "./dist/node.mjs"
      },
      "require": {
        "types": "./dist/node.d.cts",
        "default": "./dist/node.cjs"
      }
    },
    "./test-utils": {
      "import": {
        "types": "./dist/test-utils/index.d.mts",
        "default": "./dist/test-utils/index.mjs"
      },
      "require": {
        "types": "./dist/test-utils/index.d.cts",
        "default": "./dist/test-utils/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:clean": "yarn clean && yarn build",
    "changelog:update": "../../scripts/update-changelog.sh @metamask/snaps-utils",
    "changelog:validate": "../../scripts/validate-changelog.sh @metamask/snaps-utils",
    "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 && yarn test:browser",
    "test:browser": "vitest",
    "test:browser:firefox": "vitest --config ./vitest.config.firefox.mts",
    "test:clean": "jest --clearCache",
    "test:post": "tsx ../../scripts/update-coverage.mts && rimraf coverage/jest coverage/vite",
    "test:verbose": "jest --verbose",
    "test:watch": "jest --watch"
  },
  "dependencies": {
    "@babel/core": "^7.23.2",
    "@babel/types": "^7.23.0",
    "@metamask/key-tree": "^10.1.1",
    "@metamask/messenger": "^1.1.1",
    "@metamask/permission-controller": "^12.3.0",
    "@metamask/rpc-errors": "^7.0.3",
    "@metamask/slip44": "^4.4.0",
    "@metamask/snaps-registry": "^4.0.0",
    "@metamask/snaps-sdk": "^11.1.0",
    "@metamask/superstruct": "^3.2.1",
    "@metamask/utils": "^11.11.0",
    "@scure/base": "^1.1.1",
    "chalk": "^4.1.2",
    "cron-parser": "^4.5.0",
    "fast-deep-equal": "^3.1.3",
    "fast-json-stable-stringify": "^2.1.0",
    "fast-xml-parser": "^5.5.6",
    "luxon": "^3.5.0",
    "marked": "^12.0.1",
    "rfdc": "^1.3.0",
    "semver": "^7.5.4",
    "ses": "^1.15.0",
    "validate-npm-package-name": "^5.0.0"
  },
  "devDependencies": {
    "@lavamoat/allow-scripts": "^4.0.0",
    "@metamask/auto-changelog": "^5.3.2",
    "@metamask/post-message-stream": "^10.0.0",
    "@swc/core": "1.11.31",
    "@swc/jest": "^0.2.38",
    "@testing-library/dom": "^10.4.0",
    "@ts-bridge/cli": "^0.6.1",
    "@types/jest": "^27.5.1",
    "@types/luxon": "^3",
    "@types/node": "18.14.2",
    "@types/semver": "^7.5.0",
    "@types/validate-npm-package-name": "^4.0.0",
    "@vitest/browser": "^3.1.1",
    "@vitest/coverage-istanbul": "3.1.1",
    "deepmerge": "^4.2.2",
    "depcheck": "^1.4.7",
    "eslint": "^9.11.0",
    "jest": "^29.0.2",
    "jest-fetch-mock": "^3.0.3",
    "jest-silent-reporter": "^0.6.0",
    "memfs": "^3.4.13",
    "prettier": "^3.3.3",
    "rimraf": "^4.1.2",
    "tsx": "^4.20.3",
    "typescript": "~5.3.3",
    "vite": "^6.4.1",
    "vite-plugin-node-polyfills": "^0.23.0",
    "vite-tsconfig-paths": "^4.0.5",
    "vitest": "^3.1.1"
  },
  "engines": {
    "node": "^20 || >=22"
  },
  "publishConfig": {
    "access": "public",
    "registry": "https://registry.npmjs.org/"
  }
}