{
  "name": "altcha-lib",
  "version": "1.2.0",
  "description": "A library for creating and verifying ALTCHA challenges for Node.js, Bun and Deno.",
  "author": {
    "name": "Daniel Regeci",
    "url": "https://altcha.org"
  },
  "homepage": "https://altcha.org",
  "repository": {
    "type": "git",
    "url": "https://github.com/altcha-org/altcha-lib"
  },
  "license": "MIT",
  "keywords": [
    "altcha",
    "captcha",
    "antispam",
    "captcha alternative"
  ],
  "main": "./dist/index.js",
  "module": "./dist/index.js",
  "types": "./dist/index.d.ts",
  "type": "module",
  "scripts": {
    "build": "rimraf dist && rimraf cjs/dist && tsc -b tsconfig.build.json tsconfig.cjs.json",
    "denoify": "rimraf deno_dist && denoify && find deno_dist/. -type f -exec sed -i '' -e 's/node:node:/node:/g' {} +",
    "eslint": "eslint ./lib/**/*",
    "format": "prettier --write './(lib|tests)/**/*'",
    "test": "vitest --run",
    "test:deno": "deno test --allow-read tests/deno.ts",
    "prepare": "husky"
  },
  "files": [
    "cjs",
    "dist"
  ],
  "exports": {
    ".": {
      "types": "./dist/index.d.ts",
      "import": "./dist/index.js",
      "require": "./cjs/dist/index.js",
      "default": "./dist/index.js"
    },
    "./types": {
      "types": "./dist/types.d.ts",
      "import": "./dist/types.js"
    },
    "./worker": {
      "types": "./dist/worker.d.ts",
      "import": "./dist/worker.js",
      "require": "./cjs/dist/worker.js",
      "default": "./dist/worker.js"
    }
  },
  "typesVersions": {
    "*": {
      "types": [
        "./dist/types"
      ]
    }
  },
  "devDependencies": {
    "@types/node": "^20.16.3",
    "@typescript-eslint/eslint-plugin": "^8.4.0",
    "denoify": "^1.6.13",
    "eslint": "^8.57.0",
    "husky": "^9.1.5",
    "prettier": "^3.3.3",
    "rimraf": "^5.0.10",
    "ts-node": "^10.9.2",
    "tsx": "^4.19.0",
    "typescript": "^5.5.4",
    "vitest": "^1.6.0"
  }
}
