{
  "name": "@privateid/fido2-web-sdk",
  "version": "1.0.0-rc.5",
  "description": "WebAuthn/FIDO2 browser SDK for UltraPass biometric authentication",
  "type": "module",
  "main": "dist/fido2-web-sdk.cjs",
  "module": "dist/fido2-web-sdk.esm.js",
  "browser": "dist/fido2-web-sdk.js",
  "types": "dist/types/index.d.ts",
  "files": [
    "dist",
    "README.md",
    "CHANGELOG.md",
    "LICENSE"
  ],
  "exports": {
    ".": {
      "import": {
        "types": "./dist/types/index.d.ts",
        "default": "./dist/fido2-web-sdk.esm.js"
      },
      "require": {
        "types": "./dist/types-cjs/index.d.ts",
        "default": "./dist/fido2-web-sdk.cjs"
      },
      "default": "./dist/fido2-web-sdk.esm.js"
    },
    "./package.json": "./package.json"
  },
  "publishConfig": {
    "access": "public"
  },
  "scripts": {
    "dev": "rollup -c -w",
    "build": "rollup -c && tsc --emitDeclarationOnly --outDir dist/types && node scripts/emit-cjs-types.mjs",
    "demo": "npm run build && python3 -m http.server 8080",
    "test": "vitest",
    "test:run": "vitest run",
    "prepublishOnly": "npm run clean && npm run build && npm run test:run",
    "test:ui": "vitest --ui",
    "test:coverage": "vitest --coverage",
    "lint": "eslint src/**/*.ts",
    "format": "prettier --write \"src/**/*.ts\" \"tests/**/*.ts\"",
    "clean": "rm -rf dist"
  },
  "keywords": [
    "fido2",
    "webauthn",
    "biometric",
    "authentication",
    "passkeys",
    "browser",
    "ultrapass",
    "privateid"
  ],
  "author": "PrivateID",
  "license": "MIT",
  "repository": {
    "type": "git",
    "url": "https://github.com/openinfer/fido2-js.git"
  },
  "bugs": {
    "url": "https://github.com/openinfer/fido2-js/issues"
  },
  "homepage": "https://github.com/openinfer/fido2-js#readme",
  "devDependencies": {
    "@rollup/plugin-commonjs": "^25.0.7",
    "@rollup/plugin-node-resolve": "^15.2.3",
    "@rollup/plugin-terser": "^1.0.0",
    "@rollup/plugin-typescript": "^11.1.6",
    "@types/node": "^20.11.0",
    "@typescript-eslint/eslint-plugin": "^8.66.0",
    "@typescript-eslint/parser": "^8.66.0",
    "@vitest/coverage-v8": "^4.1.10",
    "@vitest/ui": "^4.1.10",
    "eslint": "^8.56.0",
    "eslint-config-prettier": "^9.1.0",
    "eslint-plugin-prettier": "^5.1.3",
    "happy-dom": "^20.11.1",
    "prettier": "^3.2.4",
    "rollup": "^4.9.6",
    "rollup-plugin-dts": "^6.1.0",
    "tslib": "^2.6.2",
    "typescript": "^5.3.3",
    "vitest": "^4.1.10"
  },
  "engines": {
    "node": ">=18.0.0"
  },
  "dependencies": {
    "cbor-x": "^1.6.4"
  }
}
