UNPKG

@okta-dfuhriman/okta-auth-js

Version:
279 lines 12.5 kB
{ "private": false, "name": "@okta/okta-signin-widget", "description": "The Okta Sign-In Widget", "version": "7.2.1", "homepage": "https://github.com/okta/okta-signin-widget", "license": "Apache-2.0", "repository": { "type": "git", "url": "https://github.com/okta/okta-signin-widget.git" }, "bugs": { "url": "https://github.com/okta/okta-signin-widget/issues" }, "browserslist": [ "> 0.1%", "not opera < 69", "not firefox < 53", "not safari < 7.1", "not ie < 11", "not IE_Mob 11" ], "engines": { "node": ">=14.18", "yarn": "^1.7.0" }, "types": "./types/src/exports/default.d.ts", "main": "./dist/js/okta-sign-in.js", "module": "./dist/esm/src/exports/exports/default.js", "exports": { "./package.json": "./package.json", ".": { "types": "./types/src/exports/default.d.ts", "import": "./dist/esm/src/exports/exports/default.js", "require": "./dist/js/okta-sign-in.js", "default": "./dist/js/okta-sign-in.js" }, "./classic": { "types": "./types/src/exports/classic.d.ts", "import": "./dist/esm/src/exports/exports/classic.js", "require": "./dist/js/okta-sign-in.classic.js", "default": "./dist/js/okta-sign-in.classic.js" }, "./oie": { "types": "./types/src/exports/oie.d.ts", "import": "./dist/esm/src/exports/exports/oie.js", "require": "./dist/js/okta-sign-in.oie.js", "default": "./dist/js/okta-sign-in.oie.js" }, "./polyfill": "./dist/js/okta-sign-in.polyfill.js", "./css/": "./dist/css/" }, "scripts": { "clean": "rimraf target && rimraf dist && rimraf build2", "clean:esm": "rimraf target/esm", "codegen": "grunt codegen", "generate-phone-codes": "node scripts/buildtools generate-phone-codes", "generate-config": "node scripts/buildtools generate-language-config", "update-readme": "node scripts/buildtools update-readme", "retirejs": "retire --js --jspath target/js --package", "lint:ci": "yarn codegen && yarn lint", "lint:esm": "eslint --no-ignore --no-eslintrc --no-inline-config --config scripts/buildtools/eslint/.eslintrc.esm.js `find target/esm -type f -name \"*.js\"`", "lint:cdn": "eslint --no-ignore --no-eslintrc --no-inline-config --config scripts/buildtools/eslint/.eslintrc.cdn.js dist/dist/js/okta-sign-in.min.js", "lint:types": "eslint --no-ignore --no-eslintrc --no-inline-config --config scripts/buildtools/eslint/.eslintrc.types.js --ext .ts types", "lint:types:report": "eslint -f checkstyle -o build2/OSW-eslint-types-checkstyle-result.xml --no-ignore --no-eslintrc --no-inline-config --config scripts/buildtools/eslint/.eslintrc.types.js --ext .ts types", "lint:eslint": "yarn lint:types && eslint . --ext .js --ext .ts", "lint:eslint:report": "eslint -f checkstyle -o build2/OSW-eslint-checkstyle-result.xml . --quiet", "lint:stylelint": "stylelint assets/sass/", "lint:stylelint:report": "stylelint --custom-formatter node_modules/stylelint-checkstyle-formatter assets/sass/ > build2/OSW-stylelint-checkstyle-result.xml", "lint": "mkdir -p build2 && run-p -c lint:eslint lint:stylelint", "lint:report": "mkdir -p build2 && run-p -c lint:eslint:report lint:types:report lint:stylelint:report", "test:jest": "echo \"DEPRECATED: Please run 'yarn test -t jest' instead.\" && exit 1", "test:karma": "echo \"DEPRECATED: Please run 'yarn test -t karma' instead.\" && exit 1", "test": "node scripts/buildtools test", "prestart:basic": "grunt copy:e2e-pages", "test:e2e": "yarn workspace @okta/e2e test", "test:e2e:lang": "yarn workspace @okta/e2e test:lang", "test:testcafe-setup": "mkdir -p test-reports/testcafe && yarn start --mock mockDuo --open false", "test:testcafe-run": "yarn test -t testcafe -c 2 chrome:headless --reporter spec,xunit:build2/reports/junit/testcafe-results.xml", "test:testcafe-ci": "run-p -r test:testcafe-setup \"test:testcafe-run\" -- 2>/dev/null", "test:testcafe-en-leaks-setup": "mkdir -p test-reports/testcafe && grunt exec:pseudo-loc && yarn start --open false", "test:testcafe-run-en-leaks": "yarn test -t testcafe -c 2 chrome test/testcafe/spec-en-leaks/ --reporter spec", "test:testcafe-run-en-leaks-ci": "yarn test -t testcafe -c 2 chrome:headless test/testcafe/spec-en-leaks/ --reporter xunit:build2/reports/junit/testcafe-results.xml", "test:enleaks-ci": "run-p -r test:testcafe-en-leaks-setup \"test:testcafe-run-en-leaks-ci\" -- 2>/dev/null", "test:enleaks": "run-p -r test:testcafe-en-leaks-setup \"test:testcafe-run-en-leaks\" -- 2>/dev/null", "test:tsd": "yarn workspace @test/types test", "test:tsd:ci": "yarn codegen && yarn test:tsd", "build:esm": "yarn clean:esm && yarn build:rollup-release && yarn lint:esm", "build:dev": "grunt build:dev", "build:release": "grunt build:release", "build:rollup-dev": "rollup -c", "build:rollup-release": "rollup -c rollup.release.config.js", "build:webpack-dev": "webpack --config webpack.dev.config.js", "build:webpack-release": "webpack --config webpack.release.config.js", "start:mockDuo": "echo \"DEPRECATED: Please run 'yarn start --mock mockDuo' instead.\" && exit 1", "start:playground": "echo \"DEPRECATED: Please run 'yarn start --watch' instead.\" && exit 1", "start:playground:mockDuo": "echo \"DEPRECATED: Please run 'yarn start --mock mockDuo --watch' instead.\" && exit 1", "start:dev-server": "echo \"DEPRECATED: Please run 'yarn start' instead.\" && exit 1", "start": "node scripts/buildtools start", "start:test:app": "yarn workspace @okta/test.app start", "mock:device-authenticator": "dyson playground/mocks/spec-device-authenticator/ 6512", "clean:types": "grunt clean:types", "generate:types": "ttsc --noEmit false --declaration --emitDeclarationOnly --declarationMap", "copy:types": "grunt copy:types", "build:types": "yarn clean:types && yarn generate:types && yarn copy:types" }, "devDependencies": { "@babel/cli": "^7.17.6", "@babel/core": "^7.17.9", "@babel/plugin-proposal-class-properties": "^7.16.7", "@babel/plugin-proposal-nullish-coalescing-operator": "^7.16.7", "@babel/plugin-proposal-optional-chaining": "^7.14.5", "@babel/plugin-transform-modules-commonjs": "^7.10.1", "@babel/plugin-transform-runtime": "^7.10.3", "@babel/preset-env": "^7.15.6", "@babel/preset-typescript": "^7.16.7", "@babel/register": "^7.15.3", "@babel/runtime": "^7.10.3", "@babel/runtime-corejs3": "^7.10.3", "@okta/eslint-plugin-okta": "0.5.0", "@rollup/plugin-alias": "^3.1.9", "@rollup/plugin-babel": "^5.3.1", "@rollup/plugin-commonjs": "^21.1.0", "@rollup/plugin-json": "^4.1.0", "@rollup/plugin-node-resolve": "^13.2.1", "@rollup/plugin-replace": "^4.0.0", "@rollup/plugin-strip": "^2.1.0", "@typescript-eslint/eslint-plugin": "^4.16.1", "@typescript-eslint/parser": "^4.16.1", "@zerollup/ts-transform-paths": "^1.7.18", "autoprefixer": "^9.6.1", "axios": "^0.27.2", "babel-eslint": "^10.1.0", "babel-jest": "^26.6.3", "babel-loader": "^8.2.5", "babel-plugin-add-module-exports": "^1.0.4", "babel-plugin-istanbul": "^6.0.0", "babel-plugin-transform-amd-to-commonjs": "^1.5.0", "babel-plugin-tsconfig-paths-module-resolver": "^1.0.3", "chalk": "^2.4.2", "concurrently": "^5.1.0", "core-js": "^3.9.1", "cssnano": "^4.1.7", "dotenv": "^8.0.0", "dyson": "^4.1.0", "eslint": "^7.23.0", "eslint-import-resolver-typescript": "^3.5.0", "eslint-import-resolver-webpack": "^0.13.2", "eslint-plugin-compat": "^4.0.2", "eslint-plugin-dirs": "^0.0.4", "eslint-plugin-import": "^2.26.0", "eslint-plugin-jasmine": "^4.1.0", "eslint-plugin-json": "^2.1.2", "eslint-plugin-local-rules": "^0.1.1", "eslint-plugin-no-only-tests": "^2.4.0", "eslint-plugin-testcafe-extended": "^0.2.0", "eslint-plugin-webdriverio": "^1.0.1", "expect": "^27.4.6", "fs-extra": "^8.1.0", "glob": "^7.1.3", "grunt": "^1.5.2", "grunt-cli": "^1.4.3", "grunt-contrib-clean": "^2.0.1", "grunt-contrib-connect": "^3.0.0", "grunt-contrib-copy": "^1.0.0", "grunt-contrib-watch": "^1.1.0", "grunt-exec": "^3.0.0", "grunt-postcss": "^0.9.0", "grunt-properties-to-json": "^0.6.0", "grunt-sass": "^3.1.0", "isomorphic-fetch": "^3.0.0", "jasmine": "^4.0.1", "jasmine-ajax": "^4.0.0", "jasmine-core": "2.99.1", "jasmine-reporters": "^2.5.0", "jest": "^26.6.3", "jest-canvas-mock": "^2.3.1", "jest-junit": "^13.1.0", "jest-runner-tsd": "^3.0.0", "junit-report-builder": "^1.3.2", "karma": "^6.3.19", "karma-chrome-launcher": "^3.0.0", "karma-coverage": "^2.0.3", "karma-edge-launcher": "^0.4.2", "karma-firefox-launcher": "^1.1.0", "karma-jasmine": "^2.0.1", "karma-junit-reporter": "^1.2.0", "karma-mocha-reporter": "^2.2.5", "karma-safari-launcher": "^1.0.0", "karma-sourcemap-loader": "^0.3.7", "karma-webpack": "^5.0.0", "load-grunt-tasks": "^5.0.0", "nodemon": "^2.0.7", "npm-run-all": "^4.1.5", "regenerator-runtime": "^0.13.7", "replace-in-file": "^6.2.0", "retire": "^2.0.3", "rimraf": "^2.6.2", "rollup": "^2.70.2", "rollup-plugin-amd": "^4.0.0", "rollup-plugin-multi-input": "^1.3.1", "rollup-plugin-visualizer": "^5.6.0", "sass": "^1.38.0", "shelljs": "^0.8.5", "source-map-loader": "^3.0.1", "stylelint": "^13.13.1", "stylelint-checkstyle-formatter": "^0.1.2", "stylelint-scss": "^3.20.1", "terser-webpack-plugin": "^5.2.4", "testcafe": "^1.18.6", "time-grunt": "^2.0.0", "tsd": "^0.20.0", "ttypescript": "^1.5.13", "typescript": "~4.2.2", "wait-on": "^6.0.1", "webdriver-manager": "^12.1.8", "webpack": "^5.51.1", "webpack-bundle-analyzer": "^4.5.0", "webpack-cli": "^4.8.0", "webpack-dev-server": "^4.9.2" }, "dependencies": { "@okta/okta-auth-js": "~7.0.0", "@sindresorhus/to-milliseconds": "^1.0.0", "@types/backbone": "^1.4.15", "@types/jquery": "^3.5.14", "@types/jqueryui": "^1.12.16", "@types/q": "^1.5.5", "@types/selectize": "^0.12.35", "@types/underscore": "^1.11.4", "chokidar": "^3.5.1", "clipboard": "^1.5.16", "cross-fetch": "^3.1.5", "ejs": "^3.1.7", "handlebars": "^4.7.7", "jquery": "^3.6.0", "parse-ms": "^2.0.0", "q": "1.4.1", "u2f-api-polyfill": "0.4.3", "underscore": "1.13.1" }, "optionalDependencies": { "fsevents": "*" }, "resolutions": { "chokidar": "^3.5.1", "dot-prop": "^5.3.0", "ejs": "^3.1.7", "ini": "^1.3.8", "is-installed-globally": "^0.4.0", "wait-on/axios": "^0.27.2", "**/request/qs": "^6.11.0", "grunt/minimatch": "^3.1.2", "**/globule/minimatch": "^3.1.2", "ansi-regex": "^5.0.1" }, "workspaces": { "packages": [ ".", "env", "test/app", "test/e2e", "test/types", "playground", "packages/@okta/courage-dist" ], "nohoist": [ "**/@wdio/**" ] }, "packageManager": "yarn@1.22.17", "tsd": { "directory": "test/types" }, "okta": { "commitSha": "ef759fa74fbd8e8027d0ad1ef94acc8a887a2720", "fullVersion": "7.2.1-gef759fa" } }