2019-11-18 23:37:36 +00:00
|
|
|
{
|
2021-10-08 04:00:06 +00:00
|
|
|
"name": "authelia",
|
2022-12-21 08:24:30 +00:00
|
|
|
"version": "4.37.5",
|
2019-11-18 23:37:36 +00:00
|
|
|
"private": true,
|
2023-02-11 16:01:51 +00:00
|
|
|
"engines": {
|
|
|
|
"node": ">=18.4.0",
|
|
|
|
"pnpm": "7"
|
|
|
|
},
|
2022-05-03 06:19:42 +00:00
|
|
|
"pnpm": {
|
|
|
|
"peerDependencyRules": {
|
|
|
|
"allowedVersions": {
|
|
|
|
"@types/react": "18",
|
|
|
|
"react": "18",
|
|
|
|
"react-dom": "18"
|
|
|
|
},
|
|
|
|
"ignoreMissing": [
|
2022-06-23 00:27:27 +00:00
|
|
|
"@babel/core",
|
2022-05-03 06:19:42 +00:00
|
|
|
"@babel/plugin-syntax-flow",
|
|
|
|
"@babel/plugin-transform-react-jsx",
|
|
|
|
"prop-types"
|
|
|
|
]
|
|
|
|
}
|
|
|
|
},
|
2019-11-18 23:37:36 +00:00
|
|
|
"dependencies": {
|
2022-10-27 15:26:41 +00:00
|
|
|
"@emotion/cache": "11.10.5",
|
|
|
|
"@emotion/react": "11.10.5",
|
|
|
|
"@emotion/styled": "11.10.5",
|
2023-02-07 22:10:20 +00:00
|
|
|
"@fortawesome/fontawesome-svg-core": "6.3.0",
|
|
|
|
"@fortawesome/free-regular-svg-icons": "6.3.0",
|
|
|
|
"@fortawesome/free-solid-svg-icons": "6.3.0",
|
2022-06-29 21:37:40 +00:00
|
|
|
"@fortawesome/react-fontawesome": "0.2.0",
|
2022-12-14 00:12:01 +00:00
|
|
|
"@mui/icons-material": "5.11.0",
|
2023-02-07 15:19:51 +00:00
|
|
|
"@mui/material": "5.11.8",
|
2023-01-31 11:45:32 +00:00
|
|
|
"@mui/styles": "5.11.7",
|
2023-02-11 15:49:04 +00:00
|
|
|
"@simplewebauthn/browser": "7.1.0",
|
2023-02-01 11:10:38 +00:00
|
|
|
"@simplewebauthn/typescript-types": "7.0.0",
|
2023-02-03 19:33:31 +00:00
|
|
|
"axios": "1.3.2",
|
2023-01-16 21:52:11 +00:00
|
|
|
"broadcast-channel": "4.20.2",
|
2022-09-13 22:56:02 +00:00
|
|
|
"classnames": "2.3.2",
|
2023-01-08 18:26:23 +00:00
|
|
|
"i18next": "22.4.9",
|
2022-11-03 23:47:28 +00:00
|
|
|
"i18next-browser-languagedetector": "7.0.1",
|
2022-12-20 06:41:10 +00:00
|
|
|
"i18next-http-backend": "2.1.1",
|
2022-06-25 23:26:23 +00:00
|
|
|
"qrcode.react": "3.1.0",
|
2022-06-14 21:38:48 +00:00
|
|
|
"react": "18.2.0",
|
|
|
|
"react-dom": "18.2.0",
|
2023-02-02 22:44:23 +00:00
|
|
|
"react-i18next": "12.1.5",
|
2021-01-30 05:26:23 +00:00
|
|
|
"react-loading": "2.0.3",
|
2023-02-06 22:30:21 +00:00
|
|
|
"react-router-dom": "6.8.1",
|
2022-12-26 13:38:34 +00:00
|
|
|
"react18-input-otp": "1.1.2",
|
2022-04-03 00:48:26 +00:00
|
|
|
"zxcvbn": "4.4.2"
|
2019-11-18 23:37:36 +00:00
|
|
|
},
|
|
|
|
"scripts": {
|
2021-09-09 02:22:11 +00:00
|
|
|
"prepare": "cd .. && husky install .github",
|
2021-10-08 04:00:06 +00:00
|
|
|
"start": "vite --host",
|
|
|
|
"build": "vite build",
|
|
|
|
"coverage": "VITE_COVERAGE=true vite build",
|
2021-12-01 03:32:58 +00:00
|
|
|
"lint": "eslint . --ext .js,.jsx,.ts,.tsx --fix",
|
2021-10-08 04:00:06 +00:00
|
|
|
"test": "jest --coverage --no-cache",
|
2021-12-02 10:28:16 +00:00
|
|
|
"report": "nyc report -r clover -r json -r lcov -r text"
|
2019-11-18 23:37:36 +00:00
|
|
|
},
|
|
|
|
"eslintConfig": {
|
|
|
|
"extends": "react-app"
|
|
|
|
},
|
2021-10-08 04:00:06 +00:00
|
|
|
"jest": {
|
|
|
|
"roots": [
|
|
|
|
"<rootDir>/src"
|
|
|
|
],
|
|
|
|
"collectCoverageFrom": [
|
|
|
|
"src/**/*.{js,jsx,ts,tsx}",
|
|
|
|
"!src/**/*.d.ts"
|
|
|
|
],
|
|
|
|
"setupFilesAfterEnv": [
|
|
|
|
"<rootDir>/src/setupTests.js"
|
|
|
|
],
|
|
|
|
"testMatch": [
|
|
|
|
"<rootDir>/src/**/*.{spec,test}.{js,jsx,ts,tsx}"
|
|
|
|
],
|
|
|
|
"testEnvironment": "jsdom",
|
|
|
|
"transform": {
|
|
|
|
"^.+\\.(js|jsx|mjs|cjs|ts|tsx)$": [
|
|
|
|
"esbuild-jest",
|
|
|
|
{
|
|
|
|
"sourcemap": true
|
|
|
|
}
|
|
|
|
],
|
2021-11-15 08:37:58 +00:00
|
|
|
"^.+\\.(css|png|svg)$": "jest-transform-stub"
|
2021-10-08 04:00:06 +00:00
|
|
|
},
|
|
|
|
"transformIgnorePatterns": [
|
2023-02-11 15:47:03 +00:00
|
|
|
"[/\\\\]node_modules[/\\\\](?!(\\.pnpm[/\\\\])?(@simplewebauthn[+/\\\\]browser)).+\\.(js|jsx|cjs|ts|tsx)$"
|
2021-10-08 04:00:06 +00:00
|
|
|
],
|
|
|
|
"moduleNameMapper": {
|
|
|
|
"^@root/(.*)$": [
|
|
|
|
"<rootDir>/src/$1"
|
|
|
|
],
|
|
|
|
"^@assets/(.*)$": [
|
|
|
|
"<rootDir>/src/assets/$1"
|
|
|
|
],
|
|
|
|
"^@components/(.*)$": [
|
|
|
|
"<rootDir>/src/components/$1"
|
|
|
|
],
|
|
|
|
"^@constants/(.*)$": [
|
|
|
|
"<rootDir>/src/constants/$1"
|
|
|
|
],
|
|
|
|
"^@hooks/(.*)$": [
|
|
|
|
"<rootDir>/src/hooks/$1"
|
|
|
|
],
|
2022-01-21 12:05:46 +00:00
|
|
|
"^@i18n/(.*)$": [
|
|
|
|
"<rootDir>/src/i18n/$1"
|
|
|
|
],
|
2021-10-08 04:00:06 +00:00
|
|
|
"^@layouts/(.*)$": [
|
|
|
|
"<rootDir>/src/layouts/$1"
|
|
|
|
],
|
|
|
|
"^@models/(.*)$": [
|
|
|
|
"<rootDir>/src/models/$1"
|
|
|
|
],
|
|
|
|
"^@services/(.*)$": [
|
|
|
|
"<rootDir>/src/services/$1"
|
|
|
|
],
|
|
|
|
"^@themes/(.*)$": [
|
|
|
|
"<rootDir>/src/themes/$1"
|
|
|
|
],
|
|
|
|
"^@utils/(.*)$": [
|
|
|
|
"<rootDir>/src/utils/$1"
|
|
|
|
],
|
|
|
|
"^@views/(.*)$": [
|
|
|
|
"<rootDir>/src/views/$1"
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"watchPlugins": [
|
|
|
|
"jest-watch-typeahead/filename",
|
|
|
|
"jest-watch-typeahead/testname"
|
|
|
|
],
|
|
|
|
"resetMocks": true
|
|
|
|
},
|
2019-11-18 23:37:36 +00:00
|
|
|
"browserslist": {
|
|
|
|
"production": [
|
|
|
|
">0.2%",
|
|
|
|
"not dead",
|
|
|
|
"not op_mini all"
|
|
|
|
],
|
|
|
|
"development": [
|
2021-03-13 03:09:51 +00:00
|
|
|
">0.2%",
|
|
|
|
"not dead",
|
|
|
|
"not op_mini all",
|
2019-11-18 23:37:36 +00:00
|
|
|
"last 1 chrome version",
|
|
|
|
"last 1 firefox version",
|
|
|
|
"last 1 safari version"
|
|
|
|
]
|
2021-01-02 10:58:24 +00:00
|
|
|
},
|
|
|
|
"devDependencies": {
|
2023-01-13 01:34:19 +00:00
|
|
|
"@commitlint/cli": "17.4.2",
|
|
|
|
"@commitlint/config-conventional": "17.4.2",
|
2022-11-28 03:22:06 +00:00
|
|
|
"@limegrass/eslint-plugin-import-alias": "1.0.6",
|
2022-08-06 04:14:15 +00:00
|
|
|
"@testing-library/jest-dom": "5.16.5",
|
2022-09-05 01:57:47 +00:00
|
|
|
"@testing-library/react": "13.4.0",
|
2023-01-25 08:21:20 +00:00
|
|
|
"@types/jest": "29.4.0",
|
2023-02-07 10:38:37 +00:00
|
|
|
"@types/node": "18.13.0",
|
2021-08-03 06:25:13 +00:00
|
|
|
"@types/qrcode.react": "1.0.2",
|
2023-02-11 15:16:21 +00:00
|
|
|
"@types/react": "18.0.28",
|
2022-12-23 14:51:41 +00:00
|
|
|
"@types/react-dom": "18.0.10",
|
2022-04-03 11:58:27 +00:00
|
|
|
"@types/zxcvbn": "4.4.1",
|
2023-02-06 22:48:41 +00:00
|
|
|
"@typescript-eslint/eslint-plugin": "5.51.0",
|
|
|
|
"@typescript-eslint/parser": "5.51.0",
|
2023-02-02 16:10:04 +00:00
|
|
|
"@vitejs/plugin-react": "3.1.0",
|
2023-02-10 03:12:46 +00:00
|
|
|
"esbuild": "0.17.7",
|
2021-10-08 04:00:06 +00:00
|
|
|
"esbuild-jest": "0.5.0",
|
2023-02-11 00:39:29 +00:00
|
|
|
"eslint": "8.34.0",
|
2023-01-03 08:00:31 +00:00
|
|
|
"eslint-config-prettier": "8.6.0",
|
2022-04-12 21:53:33 +00:00
|
|
|
"eslint-config-react-app": "7.0.1",
|
2021-06-20 23:39:17 +00:00
|
|
|
"eslint-formatter-rdjson": "1.0.5",
|
2023-01-11 15:47:46 +00:00
|
|
|
"eslint-import-resolver-typescript": "3.5.3",
|
2023-01-16 22:41:26 +00:00
|
|
|
"eslint-plugin-import": "2.27.5",
|
2023-01-12 06:38:12 +00:00
|
|
|
"eslint-plugin-jsx-a11y": "6.7.1",
|
2022-06-30 05:17:54 +00:00
|
|
|
"eslint-plugin-prettier": "4.2.1",
|
2023-01-29 09:04:49 +00:00
|
|
|
"eslint-plugin-react": "7.32.2",
|
2022-06-14 21:38:48 +00:00
|
|
|
"eslint-plugin-react-hooks": "4.6.0",
|
2023-01-03 10:19:43 +00:00
|
|
|
"husky": "8.0.3",
|
2023-02-07 15:35:47 +00:00
|
|
|
"jest": "29.4.2",
|
|
|
|
"jest-environment-jsdom": "29.4.2",
|
2021-10-08 04:00:06 +00:00
|
|
|
"jest-transform-stub": "2.0.0",
|
2023-01-25 04:24:58 +00:00
|
|
|
"jest-watch-typeahead": "2.2.2",
|
2023-02-08 04:42:37 +00:00
|
|
|
"prettier": "2.8.4",
|
2022-06-14 23:05:09 +00:00
|
|
|
"react-test-renderer": "18.2.0",
|
2023-01-30 22:53:33 +00:00
|
|
|
"typescript": "4.9.5",
|
2023-02-02 15:56:57 +00:00
|
|
|
"vite": "4.1.1",
|
2022-08-18 01:52:40 +00:00
|
|
|
"vite-plugin-eslint": "1.8.1",
|
2023-01-10 01:13:54 +00:00
|
|
|
"vite-plugin-istanbul": "4.0.0",
|
2022-12-12 07:03:15 +00:00
|
|
|
"vite-plugin-svgr": "2.4.0",
|
2023-01-19 23:48:34 +00:00
|
|
|
"vite-tsconfig-paths": "4.0.5"
|
2019-11-18 23:37:36 +00:00
|
|
|
}
|
|
|
|
}
|