{
  "name": "@solana/errors",
  "version": "5.5.1",
  "description": "Throw, identify, and decode Solana JavaScript errors",
  "homepage": "https://www.solanakit.com/api#solanaerrors",
  "exports": {
    "edge-light": {
      "import": "./dist/index.node.mjs",
      "require": "./dist/index.node.cjs"
    },
    "workerd": {
      "import": "./dist/index.node.mjs",
      "require": "./dist/index.node.cjs"
    },
    "browser": {
      "import": "./dist/index.browser.mjs",
      "require": "./dist/index.browser.cjs"
    },
    "node": {
      "import": "./dist/index.node.mjs",
      "require": "./dist/index.node.cjs"
    },
    "react-native": "./dist/index.native.mjs",
    "types": "./dist/types/index.d.ts"
  },
  "browser": {
    "./dist/index.node.cjs": "./dist/index.browser.cjs",
    "./dist/index.node.mjs": "./dist/index.browser.mjs"
  },
  "main": "./dist/index.node.cjs",
  "module": "./dist/index.node.mjs",
  "react-native": "./dist/index.native.mjs",
  "types": "./dist/types/index.d.ts",
  "type": "commonjs",
  "files": [
    "./dist/"
  ],
  "sideEffects": false,
  "keywords": [
    "blockchain",
    "solana",
    "web3"
  ],
  "bin": "./bin/cli.mjs",
  "author": "Solana Labs Maintainers <maintainers@solanalabs.com>",
  "license": "MIT",
  "repository": {
    "type": "git",
    "url": "https://github.com/anza-xyz/kit"
  },
  "bugs": {
    "url": "https://github.com/anza-xyz/kit/issues"
  },
  "browserslist": [
    "supports bigint and not dead",
    "maintained node versions"
  ],
  "dependencies": {
    "chalk": "5.6.2",
    "commander": "14.0.2"
  },
  "peerDependencies": {
    "typescript": "^5.0.0"
  },
  "peerDependenciesMeta": {
    "typescript": {
      "optional": true
    }
  },
  "engines": {
    "node": ">=20.18.0"
  },
  "scripts": {
    "compile:docs": "typedoc",
    "compile:js": "tsup --config build-scripts/tsup.config.package.ts && tsup src/cli.ts --define.__NODEJS__ true --format esm --treeshake",
    "compile:typedefs": "tsc -p ./tsconfig.declarations.json",
    "dev": "NODE_OPTIONS=\"--no-experimental-webstorage\" jest -c ../../node_modules/@solana/test-config/jest-dev.config.js --rootDir . --watch",
    "publish-impl": "npm view $npm_package_name@$npm_package_version > /dev/null 2>&1 || (pnpm publish --tag ${PUBLISH_TAG:-canary} --access public --no-git-checks && (([ -n \"${GITHUB_OUTPUT:-}\" ] && echo 'published=true' >> \"$GITHUB_OUTPUT\") || true) && (([ \"$PUBLISH_TAG\" != \"canary\" ] && ../build-scripts/maybe-tag-latest.ts --token \"$GITHUB_TOKEN\" $npm_package_name@$npm_package_version) || true))",
    "publish-packages": "pnpm prepublishOnly && pnpm publish-impl",
    "style:fix": "pnpm eslint --fix src && pnpm prettier --log-level warn --ignore-unknown --write ./*",
    "test:lint": "TERM_OVERRIDE=\"${TURBO_HASH:+dumb}\" TERM=${TERM_OVERRIDE:-$TERM} jest -c ../../node_modules/@solana/test-config/jest-lint.config.js --rootDir . --silent",
    "test:prettier": "TERM_OVERRIDE=\"${TURBO_HASH:+dumb}\" TERM=${TERM_OVERRIDE:-$TERM} jest -c ../../node_modules/@solana/test-config/jest-prettier.config.js --rootDir . --silent",
    "test:treeshakability:browser": "agadoo dist/index.browser.mjs",
    "test:treeshakability:native": "agadoo dist/index.native.mjs",
    "test:treeshakability:node": "agadoo dist/index.node.mjs",
    "test:typecheck": "tsc --noEmit",
    "test:unit:browser": "NODE_OPTIONS=\"--no-experimental-webstorage\" TERM_OVERRIDE=\"${TURBO_HASH:+dumb}\" TERM=${TERM_OVERRIDE:-$TERM} jest -c ../../node_modules/@solana/test-config/jest-unit.config.browser.js --rootDir . --silent",
    "test:unit:node": "NODE_OPTIONS=\"--no-experimental-webstorage\" TERM_OVERRIDE=\"${TURBO_HASH:+dumb}\" TERM=${TERM_OVERRIDE:-$TERM} jest -c ../../node_modules/@solana/test-config/jest-unit.config.node.js --rootDir . --silent"
  }
}