{
  "name": "hasura-auth-js",
  "version": "3.0.0",
  "description": "Hasura Auth client library for JavaScript/TypeScript. A drop-in replacement for the deprecated @nhost/hasura-auth-js package. Supports Email/Password, OAuth, WebAuthn, Passwordless, MFA, and more.",
  "license": "MIT",
  "author": {
    "name": "Rajnish Singh",
    "url": "https://rajnish.app/"
  },
  "keywords": [
    "hasura",
    "auth",
    "authentication",
    "jwt",
    "oauth",
    "webauthn",
    "passwordless",
    "nhost",
    "hasura-auth-js",
    "hasura-auth",
    "Rajnish Singh"
  ],
  "main": "dist/index.cjs.js",
  "module": "dist/index.esm.js",
  "types": "dist/index.d.ts",
  "source": "src/index.ts",
  "files": [
    "dist",
    "README.md"
  ],
  "exports": {
    ".": {
      "import": {
        "types": "./dist/index.d.ts",
        "default": "./dist/index.esm.js"
      },
      "require": "./dist/index.cjs.js"
    }
  },
  "scripts": {
    "build": "npm run build:lib && npm run build:types",
    "build:lib": "vite build",
    "build:types": "tsc --project tsconfig.json --emitDeclarationOnly",
    "typecheck": "tsc --noEmit",
    "dev": "vite build --watch",
    "prepublishOnly": "npm run build"
  },
  "dependencies": {
    "@simplewebauthn/browser": "^13.2.2",
    "fetch-ponyfill": "^7.1.0",
    "js-cookie": "^3.0.5",
    "jwt-decode": "^4.0.0",
    "xstate": "^4.38.3"
  },
  "devDependencies": {
    "@types/js-cookie": "^3.0.6",
    "typescript": "^5.9.3",
    "vite": "^7.2.1",
    "vitest": "^4.0.7"
  },
  "repository":"rajnish93/hasura-auth-js"
}
