{
  "name": "lib-result",
  "author": "Ahmad Othman",
  "license": "MIT",
  "version": "5.0.0",
  "description": "A Rust-inspired `Result` type for type-safe error handling in TypeScript and JavaScript",
  "repository": {
    "type": "git",
    "url": "https://github.com/AhmedOsman101/lib-result.git"
  },
  "homepage": "https://github.com/AhmedOsman101/lib-result/wiki",
  "keywords": [
    "typescript",
    "javascript",
    "result",
    "rust",
    "error-handling"
  ],
  "type": "module",
  "main": "./dist/index.cjs",
  "module": "./dist/index.js",
  "types": "./dist/index.d.ts",
  "exports": {
    ".": {
      "import": "./dist/index.js",
      "require": "./dist/index.cjs"
    }
  },
  "files": [
    "dist"
  ],
  "devDependencies": {
    "@arethetypeswrong/cli": "^0.18.2",
    "@biomejs/biome": "2.3.11",
    "@types/node": "^25.5.2",
    "@vitest/coverage-v8": "3.2.4",
    "axios": "^1.15.0",
    "esbuild": "^0.25.12",
    "husky": "^9.1.7",
    "tsup": "^8.5.1",
    "typescript": "^5.9.3",
    "vitest": "^3.2.4"
  },
  "scripts": {
    "clean": "rm -rf dist/*",
    "lint": "unset BIOME_CONFIG_PATH; biome lint .",
    "format": "unset BIOME_CONFIG_PATH; biome check --fix .",
    "format:unsafe": "unset BIOME_CONFIG_PATH; biome check --fix --unsafe .",
    "build": "pnpm clean && pnpm typecheck",
    "typecheck": "tsc --noUnusedLocals false --noUnusedParameters false --noEmit && tsup && attw --pack .",
    "test": "pnpm build && vitest run",
    "test:coverage": "pnpm build && vitest run --coverage; rm -rf coverage"
  }
}