a71778651f
This commit disassembles PromptStage and places function that don't need a reference to the PromptStage object into a collection of maps between the Stage type and the prompt associated with it. (In a better world, this would be a great place to try some post-Midgard mplementation of itemtype/itemid/itemprop). This surfaced the nature of the relationship between Password and Password (Repeat), allowing us to modify both to show password strength and password matching for the "change password" dialog.
115 lines
5.2 KiB
JSON
115 lines
5.2 KiB
JSON
{
|
|
"name": "@goauthentik/web",
|
|
"version": "0.0.0",
|
|
"private": true,
|
|
"license": "MIT",
|
|
"scripts": {
|
|
"extract-locales": "lit-localize extract",
|
|
"build-locales": "run-s build-locales:build",
|
|
"build-locales:build": "lit-localize build",
|
|
"build-locales:repair": "prettier --write ./src/locale-codes.ts",
|
|
"rollup:build": "node --max-old-space-size=4096 node_modules/.bin/rollup -c ./rollup.config.js",
|
|
"rollup:build-proxy": "node --max-old-space-size=4096 node_modules/.bin/rollup -c ./rollup.proxy.js",
|
|
"rollup:watch": "node --max-old-space-size=8192 node_modules/.bin/rollup -c -w",
|
|
"build": "run-s build-locales rollup:build",
|
|
"build-proxy": "run-s build-locales rollup:build-proxy",
|
|
"watch": "run-s build-locales rollup:watch",
|
|
"lint": "eslint . --max-warnings 0 --fix",
|
|
"lit-analyse": "lit-analyzer src",
|
|
"precommit": "run-s build-locales lint tsc prettier",
|
|
"prettier-check": "prettier --check .",
|
|
"prettier": "prettier --write .",
|
|
"tsc:execute": "tsc --noEmit -p .",
|
|
"tsc": "run-s build-locales tsc:execute",
|
|
"background-image": "npx @squoosh/cli -d src/assets/images --resize '{\"enabled\":true,\"width\":2560,\"method\":\"lanczos3\",\"fitMethod\":\"contain\",\"premultiply\":true,\"linearRGB\":true}' --mozjpeg '{\"quality\":75,\"baseline\":false,\"arithmetic\":false,\"progressive\":true,\"optimize_coding\":true,\"smoothing\":0,\"color_space\":3,\"quant_table\":3,\"trellis_multipass\":false,\"trellis_opt_zero\":false,\"trellis_opt_table\":false,\"trellis_loops\":1,\"auto_subsample\":true,\"chroma_subsample\":2,\"separate_chroma_quality\":false,\"chroma_quality\":75}' src/assets/images/flow_background.jpg",
|
|
"storybook": "storybook dev -p 6006",
|
|
"storybook:build": "storybook build"
|
|
},
|
|
"dependencies": {
|
|
"@codemirror/lang-html": "^6.4.4",
|
|
"@codemirror/lang-javascript": "^6.1.9",
|
|
"@codemirror/lang-python": "^6.1.2",
|
|
"@codemirror/lang-xml": "^6.0.2",
|
|
"@codemirror/legacy-modes": "^6.3.2",
|
|
"@codemirror/theme-one-dark": "^6.1.2",
|
|
"@formatjs/intl-listformat": "^7.2.2",
|
|
"@fortawesome/fontawesome-free": "^6.4.0",
|
|
"@goauthentik/api": "^2023.5.3-1685646044",
|
|
"@lit/localize": "^0.11.4",
|
|
"@patternfly/patternfly": "^4.224.2",
|
|
"@sentry/browser": "^7.54.0",
|
|
"@sentry/tracing": "^7.54.0",
|
|
"@webcomponents/webcomponentsjs": "^2.8.0",
|
|
"base64-js": "^1.5.1",
|
|
"chart.js": "^4.3.0",
|
|
"chartjs-adapter-moment": "^1.0.1",
|
|
"codemirror": "^6.0.1",
|
|
"construct-style-sheets-polyfill": "^3.1.0",
|
|
"core-js": "^3.30.2",
|
|
"country-flag-icons": "^1.5.7",
|
|
"fuse.js": "^6.6.2",
|
|
"lit": "^2.7.5",
|
|
"mermaid": "^10.2.2",
|
|
"rapidoc": "^9.3.4",
|
|
"webcomponent-qr-code": "^1.1.1",
|
|
"yaml": "^2.3.1",
|
|
"zxcvbn": "^4.4.2"
|
|
},
|
|
"devDependencies": {
|
|
"@babel/core": "^7.22.1",
|
|
"@babel/plugin-proposal-class-properties": "^7.18.6",
|
|
"@babel/plugin-proposal-decorators": "^7.22.3",
|
|
"@babel/plugin-proposal-private-methods": "^7.18.6",
|
|
"@babel/plugin-transform-runtime": "^7.22.4",
|
|
"@babel/preset-env": "^7.22.4",
|
|
"@babel/preset-typescript": "^7.21.5",
|
|
"@hcaptcha/types": "^1.0.3",
|
|
"@jackfranklin/rollup-plugin-markdown": "^0.4.0",
|
|
"@jeysal/storybook-addon-css-user-preferences": "^0.2.0",
|
|
"@lit/localize-tools": "^0.6.9",
|
|
"@rollup/plugin-babel": "^6.0.3",
|
|
"@rollup/plugin-commonjs": "^25.0.0",
|
|
"@rollup/plugin-node-resolve": "^15.0.2",
|
|
"@rollup/plugin-replace": "^5.0.2",
|
|
"@rollup/plugin-typescript": "^11.1.1",
|
|
"@squoosh/cli": "^0.7.3",
|
|
"@storybook/addon-essentials": "^7.0.18",
|
|
"@storybook/addon-links": "^7.0.18",
|
|
"@storybook/blocks": "^7.0.18",
|
|
"@storybook/web-components": "^7.0.18",
|
|
"@storybook/web-components-vite": "^7.0.18",
|
|
"@trivago/prettier-plugin-sort-imports": "^4.1.1",
|
|
"@types/chart.js": "^2.9.37",
|
|
"@types/codemirror": "5.60.8",
|
|
"@types/grecaptcha": "^3.0.4",
|
|
"@types/zxcvbn": "^4.4.1",
|
|
"@typescript-eslint/eslint-plugin": "^5.59.9",
|
|
"@typescript-eslint/parser": "^5.59.9",
|
|
"babel-plugin-macros": "^3.1.0",
|
|
"babel-plugin-tsconfig-paths": "^1.0.3",
|
|
"eslint": "^8.42.0",
|
|
"eslint-config-google": "^0.14.0",
|
|
"eslint-plugin-custom-elements": "0.0.8",
|
|
"eslint-plugin-lit": "^1.8.3",
|
|
"eslint-plugin-storybook": "^0.6.12",
|
|
"lit-analyzer": "^1.2.1",
|
|
"npm-run-all": "^4.1.5",
|
|
"prettier": "^2.8.8",
|
|
"pyright": "^1.1.312",
|
|
"react": "^18.2.0",
|
|
"react-dom": "^18.2.0",
|
|
"rollup": "^2.79.1",
|
|
"rollup-plugin-copy": "^3.4.0",
|
|
"rollup-plugin-cssimport": "^1.0.3",
|
|
"rollup-plugin-minify-html-literals": "^1.2.6",
|
|
"rollup-plugin-postcss-lit": "^2.0.0",
|
|
"rollup-plugin-terser": "^7.0.2",
|
|
"storybook": "^7.0.18",
|
|
"ts-lit-plugin": "^1.2.1",
|
|
"tslib": "^2.5.3",
|
|
"turnstile-types": "^1.1.2",
|
|
"typescript": "^5.1.3",
|
|
"vite-tsconfig-paths": "^4.2.0"
|
|
}
|
|
}
|