{
  "private": false,
  "name": "@okta/okta-auth-js",
  "description": "The Okta Auth SDK",
  "version": "8.0.0",
  "homepage": "https://github.com/okta/okta-auth-js",
  "license": "Apache-2.0",
  "main": "cjs/exports/default.js",
  "module": "esm/node/exports/exports/default.js",
  "browser": "umd/default.js",
  "react-native": "esm/browser/exports/exports/default.js",
  "types": "types/lib/exports/default.d.ts",
  "exports": {
    ".": {
      "node": {
        "types": "./types/lib/exports/default.d.ts",
        "import": "./esm/node/exports/exports/default.js",
        "require": "./cjs/exports/default.js"
      },
      "default": {
        "types": "./types/lib/exports/default.d.ts",
        "import": "./esm/browser/exports/exports/default.js",
        "default": "./umd/default.js"
      }
    },
    "./core": {
      "node": {
        "types": "./types/lib/exports/core.d.ts",
        "import": "./esm/node/exports/exports/core.js",
        "require": "./cjs/exports/core.js"
      },
      "default": {
        "types": "./types/lib/exports/core.d.ts",
        "import": "./esm/browser/exports/exports/core.js",
        "require": "./umd/core.js",
        "default": "./umd/core.js"
      }
    },
    "./authn": {
      "node": {
        "types": "./types/lib/exports/authn.d.ts",
        "import": "./esm/node/exports/exports/authn.js",
        "require": "./cjs/exports/authn.js"
      },
      "default": {
        "types": "./types/lib/exports/authn.d.ts",
        "import": "./esm/browser/exports/exports/authn.js",
        "require": "./umd/authn.js",
        "default": "./umd/authn.js"
      }
    },
    "./idx": {
      "node": {
        "types": "./types/lib/exports/idx.d.ts",
        "import": "./esm/node/exports/exports/idx.js",
        "require": "./cjs/exports/idx.js"
      },
      "default": {
        "types": "./types/lib/exports/idx.d.ts",
        "import": "./esm/browser/exports/exports/idx.js",
        "require": "./umd/idx.js",
        "default": "./esm/browser/exports/exports/idx.js"
      }
    },
    "./myaccount": {
      "node": {
        "types": "./types/lib/exports/myaccount.d.ts",
        "import": "./esm/node/exports/exports/myaccount.js",
        "require": "./cjs/exports/myaccount.js"
      },
      "default": {
        "types": "./types/lib/exports/myaccount.d.ts",
        "import": "./esm/browser/exports/exports/myaccount.js",
        "require": "./umd/myaccount.js",
        "default": "./umd/myaccount.js"
      }
    },
    "./package.json": "./package.json",
    "./polyfill": "./polyfill/index.js"
  },
  "repository": {
    "type": "git",
    "url": "https://github.com/okta/okta-auth-js.git"
  },
  "bugs": {
    "url": "https://github.com/okta/okta-auth-js/issues"
  },
  "sideEffects": [
    "./lib/server/serverStorage.ts",
    "./polyfill/index.js"
  ],
  "scripts": {
    "banners": "node ./scripts/buildtools/maintain-banners.js",
    "clean": "yarn clean:build",
    "clean:build": "rimraf build && rimraf build2",
    "clean:esm": "rimraf build/esm",
    "dev:esm": "NODE_ENV=development yarn build:esm --watch",
    "dev:web": "cross-env NODE_ENV=development webpack --config webpack.config.js --watch",
    "lint": "eslint --ext .js,.ts,.jsx .",
    "lint:report": "eslint -f checkstyle -o ./build2/reports/lint/eslint-checkstyle-result.xml --ext .js,.ts,.jsx .",
    "validate": "yarn tsc --noEmit && yarn lint && yarn workspace @okta/test.app validate && yarn test:types",
    "test": "yarn test:unit && yarn test:samples && yarn test:e2e",
    "test:unit": "yarn test:server && yarn test:browser",
    "test:e2e": "yarn workspace @okta/test.e2e start",
    "test:e2e:tokens": "export REFRESH_TOKEN=true && yarn test:e2e",
    "test:e2e:saucelabs": "export RUN_SAUCE_TESTS=true && yarn test:e2e",
    "test:e2e:cucumber": "RUN_CUCUMBER_TESTS=true yarn test:e2e",
    "test:browser": "jest --config ./jest.browser.js",
    "test:server": "jest --config ./jest.server.js",
    "test:report": "yarn test --ci --silent || true",
    "test:samples": "yarn workspace @okta/test.e2e.samples start",
    "test:integration": "jest --runInBand --config ./jest.integration.js",
    "test:bundle:esm:browser": "cross-env BUNDLE_ENV=browser NODE_OPTIONS=--experimental-vm-modules jest --config ./jest.esm.mjs",
    "test:bundle:esm:node": "cross-env BUNDLE_ENV=node NODE_OPTIONS=--experimental-vm-modules jest --config ./jest.esm.mjs",
    "test:bundle:cjs": "cross-env BUNDLE_ENV=node jest --config ./jest.cjs.js",
    "test:types": "yarn workspace @okta/test.types test",
    "build": "node scripts/buildtools/build.js",
    "build:cdn": "cross-env NODE_ENV=production webpack --config webpack.cdn.config.js",
    "build:web": "cross-env NODE_ENV=production webpack --config webpack.config.js",
    "build:cjs": "cross-env babel lib -d build/cjs --config-file ./babel.cjs.js --extensions \".ts\",\".js\" --source-maps",
    "build:esm": "rollup -c",
    "build:polyfill": "cross-env NODE_ENV=production webpack --config webpack.polyfill.config.js",
    "build:types": "tsc --emitDeclarationOnly",
    "docs:myaccount": "node typedoc.js",
    "generate:samples": "yarn workspace @okta/samples build && yarn install --ignore-scripts",
    "dev:samples": "yarn workspace @okta/samples dev",
    "start": "yarn workspace @okta/test.app start --open",
    "verify:package": "node scripts/verify-package.js",
    "clean:e2e": "./scripts/utils/foreach_workspace.sh \"git restore ./package.json\""
  },
  "author": "Okta",
  "keywords": [
    "Okta",
    "authentication",
    "auth",
    "login"
  ],
  "browserslist": [
    "> 0.1%",
    "not opera < 69",
    "not firefox < 53",
    "not safari < 7.1",
    "not ie < 11",
    "not IE_Mob 11"
  ],
  "engines": {
    "node": ">=20.0"
  },
  "devEngines": {
    "runtime": {
      "name": "node",
      "version": ">=20.11.0",
      "onFail": "warn"
    },
    "packageManager": {
      "name": "yarn",
      "version": ">=1.19.0",
      "onFail": "warn"
    }
  },
  "dependencies": {
    "@babel/runtime": "^7.28.6",
    "broadcast-channel": "~7.3.0",
    "js-cookie": "^3.0.5",
    "node-cache": "^5.1.2",
    "tiny-emitter": "2.1.0"
  },
  "devDependencies": {
    "@babel/cli": "^7.28.3",
    "@babel/core": "^7.28.4",
    "@babel/plugin-proposal-nullish-coalescing-operator": "^7.12.1",
    "@babel/plugin-transform-modules-commonjs": "^7.27.1",
    "@babel/plugin-transform-runtime": "^7.28.3",
    "@babel/plugin-transform-typescript": "^7.28.0",
    "@babel/preset-env": "^7.28.3",
    "@babel/preset-typescript": "^7.27.1",
    "@okta/okta-signin-widget": "^7.35.2",
    "@rollup/plugin-alias": "^3.1.8",
    "@rollup/plugin-babel": "^5.3.0",
    "@rollup/plugin-replace": "^3.0.0",
    "@types/jest": "^29.0.0",
    "@types/node": "^22.19.11",
    "@typescript-eslint/eslint-plugin": "^5.18.0",
    "@typescript-eslint/parser": "^5.18.0",
    "babel-jest": "^29.7.0",
    "babel-loader": "^9.1.2",
    "babel-plugin-add-module-exports": "^1.0.2",
    "babel-plugin-inline-replace-variables": "^1.3.1",
    "chalk": "2.4.2",
    "cross-env": "^7.0.3",
    "eslint": "^8.12.0",
    "eslint-import-resolver-typescript": "^2.5.0",
    "eslint-plugin-compat": "^3.3.0",
    "eslint-plugin-import": "^2.25.4",
    "eslint-plugin-jasmine": "^2.10.1",
    "eslint-plugin-jsdoc": "^25.4.2",
    "eslint-plugin-node": "^11.1.0",
    "fake-indexeddb": "4.0.2",
    "globby": "^13.2.2",
    "husky": ">=6",
    "jasmine-ajax": "^4.0.0",
    "jest": "^29.7.0",
    "jest-environment-jsdom": "^29.7.0",
    "jest-jasmine2": "^29.7.0",
    "jest-junit": "^16.0.0",
    "jest-runner": "^29.7.0",
    "json-loader": "0.5.4",
    "lodash": "4.17.21",
    "rollup": "^2.70.2",
    "rollup-plugin-cleanup": "^3.2.1",
    "rollup-plugin-license": "^2.8.1",
    "rollup-plugin-multi-input": "^1.3.1",
    "rollup-plugin-typescript2": "^0.36.0",
    "rollup-plugin-visualizer": "~5.5.4",
    "shelljs": "0.10.0",
    "ts-jest": "^29.4.4",
    "tstyche": "^1.1.0",
    "typedoc": "^0.23.19",
    "typedoc-plugin-markdown": "^3.13.6",
    "typescript": "^4.7.3",
    "webpack": "^5.78.0",
    "webpack-bundle-analyzer": "^4.5.0",
    "webpack-cli": "^4.10.0",
    "webpack-dev-server": "^5.2.2"
  },
  "jest-junit": {
    "outputDirectory": "./build2/reports/unit/",
    "outputName": "junit-result.xml"
  },
  "resolutions": {
    "**/request/qs": "^6.10.5",
    "**/globule/minimatch": "^3.1.2",
    "**/cacheable-request/http-cache-semantics": "^4.0.0",
    "**/has-ansi/ansi-regex": "^4.1.1",
    "**/strip-ansi/ansi-regex": "^3.0.1",
    "**/download/got": "^11.8.5",
    "**/form-data": "^4.0.4",
    "**/tar-fs": "^3.1.1",
    "**/@okta/okta-sdk-nodejs/njwt": "^2.0.1",
    "**/brace-expansion": "^2.0.2",
    "**/tmp": "^0.2.4"
  },
  "tsd": {
    "directory": "test/types"
  },
  "okta": {
    "commitSha": "4647789ab6750ef0ac23eea126cda976cd754da4",
    "fullVersion": "8.0.0-g4647789"
  }
}
