2019-11-19 06:37:36 +07:00
|
|
|
{
|
2021-10-08 11:00:06 +07:00
|
|
|
"name": "authelia",
|
2022-07-05 13:02:40 +07:00
|
|
|
"version": "4.36.2",
|
2019-11-19 06:37:36 +07:00
|
|
|
"private": true,
|
2022-05-03 13:19:42 +07:00
|
|
|
"pnpm": {
|
|
|
|
"peerDependencyRules": {
|
|
|
|
"allowedVersions": {
|
|
|
|
"@types/react": "18",
|
|
|
|
"react": "18",
|
|
|
|
"react-dom": "18"
|
|
|
|
},
|
|
|
|
"ignoreMissing": [
|
2022-06-23 07:27:27 +07:00
|
|
|
"@babel/core",
|
2022-05-03 13:19:42 +07:00
|
|
|
"@babel/plugin-syntax-flow",
|
|
|
|
"@babel/plugin-transform-react-jsx",
|
|
|
|
"prop-types"
|
|
|
|
]
|
|
|
|
}
|
|
|
|
},
|
2019-11-19 06:37:36 +07:00
|
|
|
"dependencies": {
|
2022-06-21 07:35:30 +07:00
|
|
|
"@emotion/cache": "11.9.3",
|
|
|
|
"@emotion/react": "11.9.3",
|
|
|
|
"@emotion/styled": "11.9.3",
|
2022-03-26 15:09:42 +07:00
|
|
|
"@fortawesome/fontawesome-svg-core": "6.1.1",
|
|
|
|
"@fortawesome/free-regular-svg-icons": "6.1.1",
|
|
|
|
"@fortawesome/free-solid-svg-icons": "6.1.1",
|
2022-06-30 04:37:40 +07:00
|
|
|
"@fortawesome/react-fontawesome": "0.2.0",
|
2022-06-21 07:35:30 +07:00
|
|
|
"@mui/icons-material": "5.8.4",
|
2022-07-12 17:45:05 +07:00
|
|
|
"@mui/material": "5.9.0",
|
|
|
|
"@mui/styles": "5.9.0",
|
2022-04-29 05:54:26 +07:00
|
|
|
"axios": "0.27.2",
|
2021-04-03 16:17:36 +07:00
|
|
|
"classnames": "2.3.1",
|
2022-07-14 05:04:43 +07:00
|
|
|
"i18next": "21.8.14",
|
2022-03-24 11:10:42 +07:00
|
|
|
"i18next-browser-languagedetector": "6.1.4",
|
2022-05-26 04:15:25 +07:00
|
|
|
"i18next-http-backend": "1.4.1",
|
2022-06-26 06:26:23 +07:00
|
|
|
"qrcode.react": "3.1.0",
|
2022-02-24 15:27:57 +07:00
|
|
|
"query-string": "7.1.1",
|
2022-06-15 04:38:48 +07:00
|
|
|
"react": "18.2.0",
|
|
|
|
"react-dom": "18.2.0",
|
2022-07-14 07:32:28 +07:00
|
|
|
"react-i18next": "11.18.1",
|
2021-01-30 12:26:23 +07:00
|
|
|
"react-loading": "2.0.3",
|
2021-06-24 18:22:30 +07:00
|
|
|
"react-otp-input": "2.4.0",
|
2022-04-03 05:32:57 +07:00
|
|
|
"react-router-dom": "6.3.0",
|
2022-04-03 07:48:26 +07:00
|
|
|
"zxcvbn": "4.4.2"
|
2019-11-19 06:37:36 +07:00
|
|
|
},
|
|
|
|
"scripts": {
|
2021-09-09 09:22:11 +07:00
|
|
|
"prepare": "cd .. && husky install .github",
|
2021-10-08 11:00:06 +07:00
|
|
|
"start": "vite --host",
|
|
|
|
"build": "vite build",
|
|
|
|
"coverage": "VITE_COVERAGE=true vite build",
|
2021-12-01 10:32:58 +07:00
|
|
|
"lint": "eslint . --ext .js,.jsx,.ts,.tsx --fix",
|
2021-10-08 11:00:06 +07:00
|
|
|
"test": "jest --coverage --no-cache",
|
2021-12-02 17:28:16 +07:00
|
|
|
"report": "nyc report -r clover -r json -r lcov -r text"
|
2019-11-19 06:37:36 +07:00
|
|
|
},
|
|
|
|
"eslintConfig": {
|
|
|
|
"extends": "react-app"
|
|
|
|
},
|
2021-10-08 11:00:06 +07: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 15:37:58 +07:00
|
|
|
"^.+\\.(css|png|svg)$": "jest-transform-stub"
|
2021-10-08 11:00:06 +07:00
|
|
|
},
|
|
|
|
"transformIgnorePatterns": [
|
|
|
|
"[/\\\\]node_modules[/\\\\].+\\.(js|jsx|mjs|cjs|ts|tsx)$"
|
|
|
|
],
|
|
|
|
"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 19:05:46 +07:00
|
|
|
"^@i18n/(.*)$": [
|
|
|
|
"<rootDir>/src/i18n/$1"
|
|
|
|
],
|
2021-10-08 11:00:06 +07: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-19 06:37:36 +07:00
|
|
|
"browserslist": {
|
|
|
|
"production": [
|
|
|
|
">0.2%",
|
|
|
|
"not dead",
|
|
|
|
"not op_mini all"
|
|
|
|
],
|
|
|
|
"development": [
|
2021-03-13 10:09:51 +07:00
|
|
|
">0.2%",
|
|
|
|
"not dead",
|
|
|
|
"not op_mini all",
|
2019-11-19 06:37:36 +07:00
|
|
|
"last 1 chrome version",
|
|
|
|
"last 1 firefox version",
|
|
|
|
"last 1 safari version"
|
|
|
|
]
|
2021-01-02 17:58:24 +07:00
|
|
|
},
|
|
|
|
"devDependencies": {
|
2022-06-25 18:44:19 +07:00
|
|
|
"@commitlint/cli": "17.0.3",
|
|
|
|
"@commitlint/config-conventional": "17.0.3",
|
2022-04-06 05:22:27 +07:00
|
|
|
"@testing-library/jest-dom": "5.16.4",
|
2022-05-28 18:57:58 +07:00
|
|
|
"@testing-library/react": "13.3.0",
|
2022-07-16 07:51:39 +07:00
|
|
|
"@types/jest": "28.1.6",
|
2022-07-14 09:45:52 +07:00
|
|
|
"@types/node": "16.11.44",
|
2021-08-03 13:25:13 +07:00
|
|
|
"@types/qrcode.react": "1.0.2",
|
2022-07-06 08:42:23 +07:00
|
|
|
"@types/react": "18.0.15",
|
2022-07-05 18:45:17 +07:00
|
|
|
"@types/react-dom": "18.0.6",
|
2022-04-03 18:58:27 +07:00
|
|
|
"@types/zxcvbn": "4.4.1",
|
2022-07-12 08:14:39 +07:00
|
|
|
"@typescript-eslint/eslint-plugin": "5.30.6",
|
|
|
|
"@typescript-eslint/parser": "5.30.6",
|
2022-05-03 14:44:39 +07:00
|
|
|
"@vitejs/plugin-react": "1.3.2",
|
2022-07-11 08:14:03 +07:00
|
|
|
"esbuild": "0.14.49",
|
2021-10-08 11:00:06 +07:00
|
|
|
"esbuild-jest": "0.5.0",
|
2022-07-02 13:30:25 +07:00
|
|
|
"eslint": "8.19.0",
|
2022-03-03 08:29:26 +07:00
|
|
|
"eslint-config-prettier": "8.5.0",
|
2022-04-13 04:53:33 +07:00
|
|
|
"eslint-config-react-app": "7.0.1",
|
2021-06-21 06:39:17 +07:00
|
|
|
"eslint-formatter-rdjson": "1.0.5",
|
2022-04-03 14:02:59 +07:00
|
|
|
"eslint-import-resolver-typescript": "2.7.1",
|
2022-04-06 06:34:20 +07:00
|
|
|
"eslint-plugin-import": "2.26.0",
|
2022-06-25 07:21:25 +07:00
|
|
|
"eslint-plugin-jsx-a11y": "6.6.0",
|
2022-06-30 12:17:54 +07:00
|
|
|
"eslint-plugin-prettier": "4.2.1",
|
2022-06-24 09:14:09 +07:00
|
|
|
"eslint-plugin-react": "7.30.1",
|
2022-06-15 04:38:48 +07:00
|
|
|
"eslint-plugin-react-hooks": "4.6.0",
|
2022-05-09 19:17:54 +07:00
|
|
|
"husky": "8.0.1",
|
2022-07-14 08:05:54 +07:00
|
|
|
"jest": "28.1.3",
|
|
|
|
"jest-environment-jsdom": "28.1.3",
|
2021-10-08 11:00:06 +07:00
|
|
|
"jest-transform-stub": "2.0.0",
|
2022-07-11 07:59:33 +07:00
|
|
|
"jest-watch-typeahead": "2.0.0",
|
2022-06-17 06:45:44 +07:00
|
|
|
"prettier": "2.7.1",
|
2022-06-15 06:05:09 +07:00
|
|
|
"react-test-renderer": "18.2.0",
|
2022-06-18 06:46:27 +07:00
|
|
|
"typescript": "4.7.4",
|
2022-07-08 18:16:48 +07:00
|
|
|
"vite": "2.9.14",
|
2022-05-19 13:19:41 +07:00
|
|
|
"vite-plugin-eslint": "1.6.1",
|
2022-06-11 06:14:52 +07:00
|
|
|
"vite-plugin-istanbul": "2.8.0",
|
2022-06-23 18:45:13 +07:00
|
|
|
"vite-plugin-svgr": "2.2.0",
|
2022-05-27 06:28:14 +07:00
|
|
|
"vite-tsconfig-paths": "3.5.0"
|
2019-11-19 06:37:36 +07:00
|
|
|
}
|
|
|
|
}
|