{
  "name": "@fajarnugraha37/error",
  "private": false,
  "version": "0.1.1",
  "description": "Runtime-agnostic error handling library with structured errors, adapters, and validation support for Bun, Node.js, and browsers",
  "keywords": [
    "error",
    "errors",
    "error-handling",
    "typed-errors",
    "exceptions",
    "validation",
    "problem-details",
    "rfc9457",
    "typescript",
    "bun",
    "nodejs",
    "browser"
  ],
  "author": "Fajar Nugraha <fajarnugraha37@gmail.com>",
  "repository": {
    "type": "git",
    "url": "https://github.com/fajarnugraha37/nope.git"
  },
  "license": "MIT",
  "type": "module",
  "sideEffects": false,
  "main": "./dist/index.cjs",
  "module": "./dist/index.mjs",
  "types": "./dist/index.d.ts",
  "exports": {
    ".": {
      "import": {
        "types": "./dist/index.d.ts",
        "default": "./dist/index.mjs"
      },
      "require": {
        "types": "./dist/index.d.cts",
        "default": "./dist/index.cjs"
      },
      "default": "./dist/index.mjs"
    },
    "./*": {
      "import": {
        "types": "./dist/*.d.ts",
        "default": "./dist/*.mjs"
      },
      "require": {
        "types": "./dist/*.d.cts",
        "default": "./dist/*.cjs"
      },
      "default": {
        "import": {
          "types": "./dist/*/index.d.ts",
          "default": "./dist/*/index.mjs"
        },
        "require": {
          "types": "./dist/*/index.d.cts",
          "default": "./dist/*/index.cjs"
        }
      }
    }
  },
  "files": [
    "dist",
    "README.md",
    "LICENSE"
  ],
  "scripts": {
    "build": "rm -rf dist && bunx tsc && bunx tsup",
    "test": "bun test",
    "test:watch": "bun test --watch",
    "coverage:view": "open coverage/lcov-report/index.html",
    "test:coverage": "bun test --coverage",
    "size": "size-limit",
    "typecheck": "tsc --noEmit",
    "lint": "biome check src",
    "lint:fix": "biome check --write src",
    "prepublishOnly": "bun run typecheck && bun run build && bun run test && bun run size"
  },
  "devDependencies": {
    "@biomejs/biome": "^1.9.4",
    "@size-limit/preset-small-lib": "^11.1.6",
    "@types/bun": "latest",
    "@types/express": "^5.0.0",
    "size-limit": "^11.1.6",
    "tsup": "^8.5.0",
    "typescript": "^5.7.2"
  },
  "peerDependencies": {
    "zod": "^3.0.0",
    "@sinclair/typebox": "^0.33.0",
    "ajv": "^8.0.0",
    "express": "^4.0.0 || ^5.0.0",
    "fastify": "^4.0.0 || ^5.0.0",
    "koa": "^2.0.0",
    "hono": "^4.0.0 || ^5.0.0",
    "h3": "^1.0.0",
    "elysia": "^1.0.0",
    "graphql": "^16.0.0",
    "@opentelemetry/api": "^1.0.0",
    "@sentry/types": "^8.0.0"
  },
  "peerDependenciesMeta": {
    "zod": {
    "optional": true
  },
  "@sinclair/typebox": {
  "optional": true
},
"ajv": {
"optional": true
},
"express": {
"optional": true
},
"fastify": {
"optional": true
},
"koa": {
"optional": true
},
"hono": {
"optional": true
},
"h3": {
"optional": true
},
"elysia": {
"optional": true
},
"graphql": {
"optional": true
},
"@opentelemetry/api": {
"optional": true
},
"@sentry/types": {
"optional": true
}
}
}