{
  "name": "@authing/jose",
  "version": "1.0.2-beta",
  "description": "Webpack v4 compatible version of panva/jose v3.x",
  "keywords": [
    "browser",
    "compact",
    "decode",
    "decrypt",
    "detached",
    "ec",
    "ecdsa",
    "eddsa",
    "electron",
    "embedded",
    "encrypt",
    "flattened",
    "general",
    "isomorphic",
    "jose",
    "json web token",
    "jsonwebtoken",
    "jwa",
    "jwe",
    "jwk",
    "jwks",
    "jws",
    "jwt",
    "oct",
    "okp",
    "payload",
    "rsa",
    "secp256k1",
    "sign",
    "signature",
    "universal",
    "validate",
    "verify",
    "webcrypto"
  ],
  "license": "MIT",
  "imports": {
    "#dist/*": {
      "import": "./dist/node/esm/*.js",
      "require": "./dist/node/cjs/*.js"
    },
    "#dist/webcrypto/*": {
      "import": "./dist/node/webcrypto/esm/*.js",
      "require": "./dist/node/webcrypto/cjs/*.js"
    }
  },
  "browser": "./dist/browser/index.js",
  "module": "./dist/node/webcrypto/esm/index.js",
  "main": "./dist/node/cjs/index.js",
  "types": "index.d.ts",
  "files": [
    "dist/**/package.json",
    "dist/**/*.js",
    "dist/types/**/*.d.ts",
    "!dist/types/**/*.i.d.ts",
    "!dist/types/runtime/*",
    "!dist/types/lib/*",
    "dist/types/lib/jwt_producer.d.ts"
  ],
  "scripts": {
    "build": "tsc",
    "build-all": "run-s clear build:*",
    "build-fast-all": "run-s clear build-fast:*",
    "build-fast:browser": "npm run-script runtime-browser && npm run-script -s esbuild-find | xargs -0 esbuild --log-level=warning --target=es2018 --outdir=dist/browser --format=esm && echo '{\"type\": \"module\"}'> dist/browser/package.json",
    "build-fast:node-cjs": "npm run-script runtime-node && npm run-script -s esbuild-find | xargs -0 esbuild --log-level=warning --platform=node --target=node12 --outdir=dist/node/cjs --format=cjs",
    "build-fast:node-esm": "npm run-script runtime-node && npm run-script -s esbuild-find | xargs -0 esbuild --log-level=warning --platform=node --target=node12 --outdir=dist/node/esm --format=esm && echo '{\"type\": \"module\"}'> dist/node/esm/package.json",
    "build-fast:node-webcrypto-cjs": "npm run-script runtime-node-webcrypto && npm run-script -s esbuild-find | xargs -0 esbuild --log-level=warning --platform=node --target=esnext --outdir=dist/node/webcrypto/cjs --format=cjs",
    "build-fast:node-webcrypto-esm": "npm run-script runtime-node-webcrypto && npm run-script -s esbuild-find | xargs -0 esbuild --log-level=warning --platform=node --target=esnext --outdir=dist/node/webcrypto/esm --format=esm && echo '{\"type\": \"module\"}'> dist/node/webcrypto/esm/package.json",
    "build:browser": "run-s runtime-browser lint 'build -- -p ./tsconfig/browser.json' && echo '{\"type\": \"module\"}'> dist/browser/package.json",
    "build:types": "npm run-script build -- -p ./tsconfig/types.json && cd src && find . -name '*.d.ts' -maxdepth 2 -type f -exec gcp --parents \"{}\" ../dist/types  \\; && cd .. && node ./tools/strip-dts-comments && run-s -s types:find | xargs -0 sed -i '' -e \"s/.js//g\"",
    "build:node-cjs": "run-s runtime-node lint 'build -- -p ./tsconfig/node-cjs.json'",
    "build:node-esm": "run-s runtime-node lint 'build -- -p ./tsconfig/node-esm.json' && echo '{\"type\": \"module\"}'> dist/node/esm/package.json",
    "build:node-webcrypto-cjs": "run-s runtime-node-webcrypto lint 'build -- -p ./tsconfig/node-webcrypto-cjs.json'",
    "build:node-webcrypto-esm": "run-s runtime-node-webcrypto lint 'build -- -p ./tsconfig/node-webcrypto-esm.json' && echo '{\"type\": \"module\"}'> dist/node/webcrypto/esm/package.json",
    "clear": "rm -rf dist",
    "coverage": "npm run-script runtime-node && c8 npm run-script test",
    "coverage-cryptokey": "npm run-script runtime-node && c8 npm run-script test-cryptokey",
    "coverage-webcrypto": "npm run-script runtime-node-webcrypto && c8 npm run-script test-webcrypto",
    "docs": "run-s docs:*",
    "docs:generate": "typedoc --allReflectionsHaveOwnDocument --excludePrivate --excludeProtected --gitRevision main --readme none --plugin typedoc-plugin-markdown --out docs --excludeExternals --tsconfig ./tsconfig/browser.json  --hideGenerator --hideBreadcrumbs src/types.d.ts src/jwt/*.ts src/jwe/**/*.ts src/jws/**/*.ts src/jwk/*.ts src/jwks/*.ts src/util/*.ts",
    "esbuild-find": "find src -type f -name '*.ts' -not -path '*/runtime/*/*' -not -name '*.d.ts' -print0",
    "lint": "eslint --config ./src/.eslintrc.json ./src",
    "runtime-browser": "run-s runtime:clear runtime:browser:* runtime:refs",
    "runtime-node": "run-s runtime:clear runtime:node:* runtime:refs",
    "runtime-node-webcrypto": "run-s runtime:clear runtime:browser:* && cp ./src/runtime/node/webcrypto.ts ./src/runtime/ && cp ./src/runtime/node/fetch_jwks.ts ./src/runtime/ && cp ./src/runtime/node/base64url.ts ./src/runtime/ && cp ./src/runtime/node/zlib.ts ./src/runtime/ && run-s runtime:refs",
    "runtime:browser:copy": "cp ./src/runtime/browser/*.ts ./src/runtime",
    "runtime:clear": "run-s -s runtime:find | xargs -0 rm -f",
    "runtime:find": "find src/runtime -not -name '*.d.ts' -maxdepth 1 -type f -print0",
    "types:find": "find dist/types -name '*.d.ts' -type f -print0",
    "runtime:node:copy": "cp ./src/runtime/node/*.ts ./src/runtime",
    "runtime:refs": "run-s -s runtime:find | xargs -0 sed -i '' -e \"s/'\\.\\.\\//'\\.\\//g\" -e \"s/'\\.\\/\\.\\./'../g\"",
    "test": "npm run-script test-cjs && ava",
    "test-browser": "find test-browser -type f -name '*.js' -print0 | xargs -0 npx esbuild --log-level=warning --outdir=dist-browser-tests --bundle && karma start",
    "test-cjs": "rm -rf test/cjs && find test -type f -name '*.mjs' -print0 | xargs -0 npx esbuild --log-level=warning --target=esnext --outdir=test/cjs --format=cjs",
    "test-cryptokey": "CRYPTOKEY=true npm test",
    "test-webcrypto": "WEBCRYPTO=true npm test"
  },
  "devDependencies": {
    "@types/node": "^16.7.13",
    "@typescript-eslint/eslint-plugin": "^4.28.0",
    "ava": "^3.13.0",
    "bowser": "^2.11.0",
    "c8": "^7.7.3",
    "esbuild": "^0.12.9",
    "eslint": "^7.29.0",
    "eslint-config-airbnb-base": "14.2.1",
    "eslint-config-airbnb-typescript": "^12.3.1",
    "eslint-config-prettier": "^8.1.0",
    "eslint-plugin-import": "^2.23.4",
    "eslint-plugin-jsdoc": "^35.4.0",
    "glob": "^7.1.6",
    "karma": "^6.3.4",
    "karma-browserstack-launcher": "1.6.0",
    "karma-qunit": "^4.1.2",
    "karma-summary-reporter": "^2.0.2",
    "nock": "^13.1.0",
    "npm-run-all": "^4.1.5",
    "prettier": "^2.3.1",
    "qunit": "^2.16.0",
    "timekeeper": "^2.2.0",
    "typedoc": "^0.21.0",
    "typedoc-plugin-markdown": "^3.10.0",
    "typescript": "^4.3.4"
  },
  "dependencies": {
    "@types/node": "^16.7.13"
  },
  "typesVersions": {
    "*": {
      "webcrypto/*": [
        "./dist/types/*"
      ],
      "*": [
        "./dist/types/*"
      ]
    }
  }
}
