{
  "name": "@teamhanko/hanko-webauthn",
  "version": "2.0.0",
  "description": "A wrapper for the WebAuthn API that adapts input/output values to plain JSON with base64url.",
  "author": "Hanko GmbH <developers@hanko.io>",
  "license": "MIT",
  "type": "module",
  "repository": "github:teamhanko/hanko-webauthn",
  "main": "dist/main/hanko-webauthn.js",
  "types": "dist/main/hanko-webauthn.d.ts",
  "extended": "dist/extended/hanko-webauthn.extended.js",
  "extended-types": "dist/extended/hanko-webauthn.extended.d.ts",
  "browser-global": "dist/browser-global/hanko-webauthn.browser-global.js",
  "demo": "dist/demo/index.html",
  "inspector": "dist/inspector/hanko-webauthn-inspector.js",
  "dependencies": {},
  "devDependencies": {
    "@babel/plugin-proposal-optional-chaining": "^7.11.0",
    "@babel/preset-typescript": "^7.10.4",
    "@types/jest": "^24.0.23",
    "@types/node": "^14.0.27",
    "jest": "^26.1.0",
    "parcel": "^2.0.0-nightly.411",
    "prettier": "^2.0.5",
    "ts-jest": "^26.1.1",
    "tslint": "^5.20.1",
    "typescript": "^3.9.7"
  },
  "scripts": {
    "build": "npm run build-main && npm run build-types && npm run build-extended && npm run build-extended-types && npm run build-browser-global && npm run build-demo",
    "build-main": "npx parcel build --target main src/targets/main.ts",
    "build-types": "npx parcel build --target types src/targets/main.types.ts",
    "build-extended": "npx parcel build --target extended src/targets/extended.ts",
    "build-extended-types": "npx parcel build --target extended-types src/targets/extended.types.ts",
    "build-browser-global": "npx parcel build --target browser-global src/targets/browser-global.ts",
    "build-demo": "npx parcel build --public-url . --target demo src/targets/demo/index.html",
    "build-inspector": "npx parcel build --target inspector src/targets/inspector/inspector.ts",
    "dev": "npx parcel serve src/targets/demo/index.html",
    "dev-inspector": "npx parcel serve src/targets/inspector/index.html",
    "clean": "rm -rf ./.parcel-cache ./dist",
    "test": "npx jest && npm run lint",
    "setup": "npm install",
    "lint": "npx prettier --check src test",
    "format": "npx prettier --write src test",
    "prepack": "npm run clean && npm run build"
  },
  "targets": {
    "main": {
      "outputFormat": "esmodule"
    },
    "extended": {
      "outputFormat": "esmodule"
    },
    "extended-types": {},
    "browser-global": {
      "outputFormat": "esmodule",
      "includeNodeModules": true
    },
    "bin": {
      "outputFormat": "commonjs",
      "context": "node",
      "includeNodeModules": true
    },
    "demo": {
      "outputFormat": "esmodule",
      "includeNodeModules": true
    },
    "inspector": {
      "includeNodeModules": true
    }
  },
  "keywords": [
    "webauthn",
    "auth",
    "u2f",
    "security",
    "credentials"
  ],
  "jest": {
    "roots": [
      "<rootDir>/src",
      "<rootDir>/test"
    ],
    "transform": {
      "^.+\\.ts$": "ts-jest"
    }
  },
  "prettier": {
    "semi": true,
    "trailingComma": "all",
    "tabWidth": 2,
    "quoteProps": "consistent"
  }
}
