UNPKG

@okta/okta-signin-widget

Version:
147 lines (146 loc) 5.4 kB
{ "name": "v3", "version": "7.16.0", "private": true, "description": "Okta Sign In Widget Next", "homepage": "https://github.com/okta/okta-signin-widget", "bugs": { "url": "https://github.com/okta/okta-signin-widget/issues" }, "repository": { "type": "git", "url": "https://github.com/okta/okta-signin-widget.git" }, "license": "Apache-2.0", "main": "dist/index.js", "umd:main": "dist/index.umd.js", "module": "dist/index.mjs", "source": "components/widget/index.js", "scripts": { "build:dev": "yarn codegen && webpack --config webpack.dev.config.ts", "build:release": "yarn codegen && webpack --config webpack.release.config.ts", "clean-svg": "svgo -f src/img/authCoinIcons", "codegen": "yarn workspace @okta/okta-signin-widget codegen", "dev": "yarn codegen && webpack-dev-server --config webpack.dev.config.ts", "lint": "yarn codegen && eslint .", "lint:report": "scripts/buildtools/lint-report.sh", "lint:styles": "stylelint **/*.{scss,css}", "lint:styles:report": "stylelint **/*.{scss,css} --custom-formatter ../../node_modules/stylelint-checkstyle-formatter -o build2/reports/lint/OSW-stylelint-checkstyle-result.xml --quiet", "test": "yarn codegen && jest", "test:dev": "NODE_ENV=development jest", "test:e2e": "testcafe test/e2e/tests/**/*.js --config-file test/e2e/.testcaferc.js", "test:e2e:screenshots": "yarn test:e2e -s path=test/e2e/screenshots,thumbnails=false", "test:report": "PREACT_APP_USE_PKCE=false NODE_ENV=test jest --coverage", "test:vrt": "testcafe \"chrome:headless --force-device-scale-factor=1\" --config-file test/vrt/.testcaferc.js", "test:vrt-update-screenshots": "UPDATE_SCREENSHOTS=true yarn test:vrt" }, "browserslist": [ "defaults", "ie 11" ], "dependencies": { "@adobe/leonardo-contrast-colors": "1.0.0-alpha.13", "@babel/runtime": "^7.18.6", "@emotion/cache": "^11.9.3", "@emotion/react": "^11.9.3", "@emotion/styled": "^11.9.3", "@hcaptcha/react-hcaptcha": "^1.10.1", "@mui/icons-material": "^5.8.4", "@mui/material": "^5.8.5", "@okta/odyssey-design-tokens": "1.13.0", "@okta/odyssey-react-mui": "1.13.0", "@okta/okta-auth-js": "^7.4.3", "chroma-js": "^2.4.2", "cross-fetch": "^3.1.5", "dompurify": "^3.0.0", "duo_web_sdk": "https://github.com/duosecurity/duo_web_sdk.git", "html-react-parser": "^3.0.9", "js-cookie": "^3.0.1", "lodash": "^4.17.21", "preact": "^10.13.1", "react": "npm:@preact/compat", "react-dom": "npm:@preact/compat", "react-google-recaptcha": "^3.1.0", "stylis": "4.3.0", "tiny-emitter": "^2.1.0" }, "devDependencies": { "@babel/plugin-transform-runtime": "^7.18.6", "@babel/preset-react": "^7.17.12", "@emotion/jest": "^11.9.3", "@okta/odyssey-babel-loader": "^0.17.1", "@okta/odyssey-babel-preset": "^0.17.1", "@okta/odyssey-postcss-preset": "^0.15.3", "@prefresh/babel-plugin": "^0.5.0", "@prefresh/webpack": "^4.0.0", "@testcafe-community/axe": "^3.5.0", "@testing-library/jest-dom": "^5.14.1", "@testing-library/preact": "^2.0.1", "@testing-library/preact-hooks": "^1.1.0", "@testing-library/user-event": "^14.2.0", "@types/chroma-js": "^2.1.3", "@types/dompurify": "^2.4.0", "@types/duo_web_sdk": "^2.7.1", "@types/jest": "^25.1.4", "@types/js-cookie": "^3.0.2", "@types/lodash": "^4.14.172", "@types/node": "^16.0.0", "@types/react-google-recaptcha": "^2.1.5", "@typescript-eslint/eslint-plugin": "^4.29.1", "@typescript-eslint/parser": "^4.29.1", "axe-core": "^4.3.3", "copy-webpack-plugin": "^11", "create-html-document-polyfill": "^1.0.1", "css-loader": "^6.7.4", "eslint": "^7.32.0", "eslint-config-airbnb-typescript": "^12.3.1", "eslint-config-preact": "^1.1.4", "eslint-config-react-app": "^6.0.0", "eslint-import-resolver-alias": "^1.1.2", "eslint-import-resolver-typescript": "^2.4.0", "eslint-plugin-header": "^3.1.1", "eslint-plugin-import": "^2.25.4", "eslint-plugin-jest": "^24.4.0", "eslint-plugin-json-format": "^2.0.1", "eslint-plugin-jsx-a11y": "^6.4.1", "eslint-plugin-react": "^7.24.0", "eslint-plugin-react-hooks": "^4.2.0", "eslint-plugin-simple-import-sort": "^7.0.0", "eslint-plugin-testcafe-community": "^1.1.0", "eslint-plugin-testing-library": "6.1.0", "fs-extra": "^10.0.1", "identity-obj-proxy": "^3.0.0", "jest": "^26.6.3", "jest-canvas-mock": "^2.3.1", "jest-extended": "1.2.1", "jest-junit": "^12.2.0", "msw": "^1.1.1", "nodemon": "^3.0.1", "postcss": "^8.4.13", "postcss-loader": "^7.3.3", "postcss-logical": "^5.0.0", "postcss-preset-env": "^8.4.1", "properties": "^1.2.1", "rimraf": "^4.3.0", "sass": "^1.69.5", "sass-loader": "^13.3.2", "style-loader": "^3.3.3", "stylelint": "^14.16.1", "stylelint-use-logical-spec": "^5.0.0", "svgo": "^2.3.0", "terser-webpack-plugin": "^5.2.4", "testcafe": "^2.6.2", "ts-jest": "^26.5.6", "ts-node": "^10.9.1", "typescript": "^4.9.5", "webpack": "^5.51.1", "webpack-bundle-analyzer": "^4.5.0", "webpack-cli": "^4.8.0", "webpack-dev-server": "^4.15.1", "webpack-merge": "^5.9.0", "whatwg-fetch": "^3.6.2" }, "engines": { "node": ">=16" } }