0e43255da9
This reverts commit 60af4a2e37
.
130 lines
5.8 KiB
JSON
130 lines
5.8 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": "cross-env NODE_OPTIONS='--max_old_space_size=4096' rollup -c ./rollup.config.mjs",
|
|
"rollup:build-proxy": "cross-env NODE_OPTIONS='--max_old_space_size=4096' rollup -c ./rollup.proxy.mjs",
|
|
"rollup:watch": "cross-env NODE_OPTIONS='--max_old_space_size=4096' 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",
|
|
"lint:precommit": "eslint --max-warnings 0 --config ./.eslintrc.precommit.json $(git status --porcelain . | grep '^[M?][M?]' | cut -c8- | grep -E '\\.(ts|js|tsx|jsx)$') ",
|
|
"lint:spelling": "codespell -D - -D ../.github/codespell-dictionary.txt -I ../.github/codespell-words.txt -S './src/locales/**' ./src -s",
|
|
"lit-analyse": "lit-analyzer src",
|
|
"precommit": "run-s tsc lit-analyse lint:precommit lint:spelling prettier",
|
|
"prettier-check": "prettier --check .",
|
|
"prettier": "prettier --write .",
|
|
"pseudolocalize:build-extract-script": "cd scripts && tsc --esModuleInterop --module es2020 --moduleResolution 'node' pseudolocalize.ts && mv pseudolocalize.js pseudolocalize.mjs",
|
|
"pseudolocalize:extract": "node scripts/pseudolocalize.mjs",
|
|
"pseudolocalize": "run-s pseudolocalize:build-extract-script pseudolocalize:extract",
|
|
"tsc:execute": "tsc --noEmit -p .",
|
|
"tsc": "run-s build-locales tsc:execute",
|
|
"storybook": "storybook dev -p 6006",
|
|
"storybook:build": "cross-env NODE_OPTIONS='--max_old_space_size=4096' storybook build"
|
|
},
|
|
"dependencies": {
|
|
"@codemirror/lang-html": "^6.4.6",
|
|
"@codemirror/lang-javascript": "^6.2.1",
|
|
"@codemirror/lang-python": "^6.1.3",
|
|
"@codemirror/lang-xml": "^6.0.2",
|
|
"@codemirror/legacy-modes": "^6.3.3",
|
|
"@codemirror/theme-one-dark": "^6.1.2",
|
|
"@formatjs/intl-listformat": "^7.5.3",
|
|
"@fortawesome/fontawesome-free": "^6.4.2",
|
|
"@goauthentik/api": "^2023.10.3-1699884123",
|
|
"@lit-labs/context": "^0.4.0",
|
|
"@lit-labs/task": "^3.1.0",
|
|
"@lit/localize": "^0.11.4",
|
|
"@open-wc/lit-helpers": "^0.6.0",
|
|
"@patternfly/elements": "^2.4.0",
|
|
"@patternfly/patternfly": "^4.224.2",
|
|
"@sentry/browser": "^7.80.1",
|
|
"@sentry/tracing": "^7.80.1",
|
|
"@webcomponents/webcomponentsjs": "^2.8.0",
|
|
"base64-js": "^1.5.1",
|
|
"chart.js": "^4.4.0",
|
|
"chartjs-adapter-moment": "^1.0.1",
|
|
"codemirror": "^6.0.1",
|
|
"construct-style-sheets-polyfill": "^3.1.0",
|
|
"core-js": "^3.33.2",
|
|
"country-flag-icons": "^1.5.7",
|
|
"fuse.js": "^7.0.0",
|
|
"lit": "^2.8.0",
|
|
"mermaid": "^10.6.1",
|
|
"rapidoc": "^9.3.4",
|
|
"style-mod": "^4.1.0",
|
|
"webcomponent-qr-code": "^1.2.0",
|
|
"yaml": "^2.3.4"
|
|
},
|
|
"devDependencies": {
|
|
"@babel/core": "^7.23.3",
|
|
"@babel/plugin-proposal-class-properties": "^7.18.6",
|
|
"@babel/plugin-proposal-decorators": "^7.23.3",
|
|
"@babel/plugin-transform-private-methods": "^7.23.3",
|
|
"@babel/plugin-transform-private-property-in-object": "^7.23.3",
|
|
"@babel/plugin-transform-runtime": "^7.23.3",
|
|
"@babel/preset-env": "^7.23.3",
|
|
"@babel/preset-typescript": "^7.23.3",
|
|
"@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.7.1",
|
|
"@rollup/plugin-babel": "^6.0.4",
|
|
"@rollup/plugin-commonjs": "^25.0.7",
|
|
"@rollup/plugin-node-resolve": "^15.2.3",
|
|
"@rollup/plugin-replace": "^5.0.5",
|
|
"@rollup/plugin-terser": "^0.4.4",
|
|
"@rollup/plugin-typescript": "^11.1.5",
|
|
"@storybook/addon-essentials": "^7.5.3",
|
|
"@storybook/addon-links": "^7.5.3",
|
|
"@storybook/blocks": "^7.1.1",
|
|
"@storybook/web-components": "^7.5.3",
|
|
"@storybook/web-components-vite": "^7.5.3",
|
|
"@trivago/prettier-plugin-sort-imports": "^4.3.0",
|
|
"@types/chart.js": "^2.9.40",
|
|
"@types/codemirror": "5.60.13",
|
|
"@types/grecaptcha": "^3.0.7",
|
|
"@typescript-eslint/eslint-plugin": "^6.11.0",
|
|
"@typescript-eslint/parser": "^6.11.0",
|
|
"babel-plugin-macros": "^3.1.0",
|
|
"babel-plugin-tsconfig-paths": "^1.0.3",
|
|
"cross-env": "^7.0.3",
|
|
"eslint": "^8.53.0",
|
|
"eslint-config-google": "^0.14.0",
|
|
"eslint-plugin-custom-elements": "0.0.8",
|
|
"eslint-plugin-lit": "^1.10.1",
|
|
"eslint-plugin-sonarjs": "^0.23.0",
|
|
"eslint-plugin-storybook": "^0.6.15",
|
|
"lit-analyzer": "^2.0.1",
|
|
"npm-run-all": "^4.1.5",
|
|
"prettier": "^3.1.0",
|
|
"pseudolocale": "^2.0.0",
|
|
"pyright": "^1.1.336",
|
|
"react": "^18.2.0",
|
|
"react-dom": "^18.2.0",
|
|
"rollup": "^4.4.1",
|
|
"rollup-plugin-copy": "^3.5.0",
|
|
"rollup-plugin-cssimport": "^1.0.3",
|
|
"rollup-plugin-postcss-lit": "^2.1.0",
|
|
"storybook": "^7.5.3",
|
|
"storybook-addon-mock": "^4.3.0",
|
|
"ts-lit-plugin": "^2.0.1",
|
|
"tslib": "^2.6.2",
|
|
"turnstile-types": "^1.1.3",
|
|
"typescript": "^5.2.2",
|
|
"vite-tsconfig-paths": "^4.2.1"
|
|
},
|
|
"optionalDependencies": {
|
|
"@esbuild/darwin-arm64": "^0.19.5",
|
|
"@esbuild/linux-amd64": "^0.18.11",
|
|
"@esbuild/linux-arm64": "^0.19.5"
|
|
}
|
|
}
|