{
  "name": "@shirudo/base-error",
  "version": "8.1.0",
  "description": "A cross-environment base error class for TypeScript applications, designed for seamless use across Node.js, browsers, and edge runtimes.",
  "homepage": "https://github.com/shi-rudo/base-error-ts#readme",
  "repository": {
    "type": "git",
    "url": "git+https://github.com/shi-rudo/base-error-ts.git"
  },
  "keywords": [
    "typescript",
    "error",
    "base-error",
    "try-catch",
    "exception",
    "cross-platform",
    "cause",
    "cause-chain",
    "stack-trace",
    "edge",
    "cloudflare-workers",
    "localization",
    "json",
    "problem-details",
    "rfc9457",
    "error-handling",
    "error-management",
    "error-propagation",
    "error-recovery",
    "error-logging",
    "retryable",
    "traversal"
  ],
  "author": "shirudo",
  "license": "MIT",
  "main": "dist/index.cjs",
  "module": "dist/index.js",
  "types": "dist/index.d.ts",
  "bugs": {
    "url": "https://github.com/shi-rudo/base-error-ts/issues"
  },
  "publishConfig": {
    "access": "public"
  },
  "files": [
    "dist",
    "LICENSE",
    "README.md",
    "CHANGELOG.md"
  ],
  "sideEffects": false,
  "engines": {
    "node": ">=20"
  },
  "type": "module",
  "exports": {
    ".": {
      "types": "./dist/index.d.ts",
      "import": "./dist/index.js",
      "require": "./dist/index.cjs"
    },
    "./public-error": {
      "types": "./dist/public-error/index.d.ts",
      "import": "./dist/public-error/index.js",
      "require": "./dist/public-error/index.cjs"
    }
  },
  "devDependencies": {
    "@cloudflare/vitest-pool-workers": "^0.18.0",
    "@eslint/eslintrc": "^3.3.5",
    "@eslint/js": "^10.0.1",
    "@types/node": "^26.1.0",
    "@typescript-eslint/eslint-plugin": "^8.62.1",
    "@typescript-eslint/parser": "^8.62.1",
    "@vitest/coverage-v8": "^4.1.9",
    "eslint": "^10.6.0",
    "eslint-config-prettier": "^10.1.8",
    "eslint-plugin-prettier": "^5.5.6",
    "prettier": "^3.9.4",
    "tsup": "^8.5.1",
    "typescript": "^6.0.3",
    "vitepress": "^1.6.4",
    "vitest": "^4.1.9",
    "wrangler": "^4.107.0"
  },
  "scripts": {
    "test": "vitest",
    "test:run": "vitest run",
    "test:workers": "vitest run --config vitest.workers.config.ts",
    "test:watch": "vitest",
    "test:coverage": "vitest run --coverage",
    "lint": "eslint . --ext .ts",
    "lint:fix": "eslint . --ext .ts --fix",
    "typecheck": "tsc --noEmit -p tsconfig.json",
    "format": "prettier --write .",
    "build": "pnpm typecheck && pnpm test:run && pnpm lint && tsup",
    "docs:dev": "vitepress dev docs",
    "docs:build": "vitepress build docs",
    "docs:preview": "vitepress preview docs"
  }
}