2019-11-18 23:37:36 +00:00
|
|
|
{
|
2021-10-08 04:00:06 +00:00
|
|
|
"name": "authelia",
|
2022-01-21 04:34:17 +00:00
|
|
|
"version": "4.33.2",
|
2019-11-18 23:37:36 +00:00
|
|
|
"private": true,
|
|
|
|
"dependencies": {
|
2021-08-04 20:00:27 +00:00
|
|
|
"@fortawesome/fontawesome-svg-core": "1.2.36",
|
|
|
|
"@fortawesome/free-regular-svg-icons": "5.15.4",
|
|
|
|
"@fortawesome/free-solid-svg-icons": "5.15.4",
|
2021-10-19 11:50:13 +00:00
|
|
|
"@fortawesome/react-fontawesome": "0.1.16",
|
2021-07-30 12:28:36 +00:00
|
|
|
"@material-ui/core": "4.12.3",
|
2021-01-30 05:26:23 +00:00
|
|
|
"@material-ui/icons": "4.11.2",
|
2021-10-08 04:00:06 +00:00
|
|
|
"@material-ui/styles": "4.11.4",
|
2022-01-18 10:45:57 +00:00
|
|
|
"axios": "0.25.0",
|
2021-04-03 09:17:36 +00:00
|
|
|
"classnames": "2.3.1",
|
2022-01-22 00:04:32 +00:00
|
|
|
"i18next": "21.6.7",
|
2022-01-21 12:05:46 +00:00
|
|
|
"i18next-browser-languagedetector": "6.1.2",
|
2022-01-21 23:23:00 +00:00
|
|
|
"i18next-http-backend": "1.3.2",
|
2021-01-30 05:26:23 +00:00
|
|
|
"qrcode.react": "1.0.1",
|
2022-01-12 14:11:09 +00:00
|
|
|
"query-string": "7.1.0",
|
2021-08-03 06:25:13 +00:00
|
|
|
"react": "17.0.2",
|
|
|
|
"react-dom": "17.0.2",
|
2021-01-30 05:26:23 +00:00
|
|
|
"react-ga": "3.3.0",
|
2022-01-21 13:48:50 +00:00
|
|
|
"react-i18next": "11.15.3",
|
2021-01-30 05:26:23 +00:00
|
|
|
"react-loading": "2.0.3",
|
2021-06-24 11:22:30 +00:00
|
|
|
"react-otp-input": "2.4.0",
|
2021-12-19 00:08:43 +00:00
|
|
|
"react-router-dom": "6.2.1",
|
2021-01-30 05:26:23 +00:00
|
|
|
"u2f-api": "1.2.1"
|
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": [
|
|
|
|
"[/\\\\]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 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": {
|
2022-01-21 00:19:25 +00:00
|
|
|
"@commitlint/cli": "16.1.0",
|
2021-12-27 04:44:49 +00:00
|
|
|
"@commitlint/config-conventional": "16.0.0",
|
2021-12-06 23:25:45 +00:00
|
|
|
"@testing-library/jest-dom": "5.16.1",
|
2021-10-03 22:48:02 +00:00
|
|
|
"@testing-library/react": "12.1.2",
|
2022-01-18 21:26:18 +00:00
|
|
|
"@types/node": "16.11.21",
|
2021-08-03 06:25:13 +00:00
|
|
|
"@types/qrcode.react": "1.0.2",
|
2021-12-26 03:50:05 +00:00
|
|
|
"@types/react": "17.0.38",
|
2021-11-03 23:56:57 +00:00
|
|
|
"@types/react-dom": "17.0.11",
|
2022-01-18 02:10:39 +00:00
|
|
|
"@typescript-eslint/eslint-plugin": "5.10.0",
|
|
|
|
"@typescript-eslint/parser": "5.10.0",
|
2022-01-05 04:31:06 +00:00
|
|
|
"@vitejs/plugin-react": "1.1.4",
|
2021-10-08 04:00:06 +00:00
|
|
|
"esbuild-jest": "0.5.0",
|
2021-06-20 23:39:17 +00:00
|
|
|
"eslint-config-prettier": "8.3.0",
|
2021-12-15 00:11:09 +00:00
|
|
|
"eslint-config-react-app": "7.0.0",
|
2021-06-20 23:39:17 +00:00
|
|
|
"eslint-formatter-rdjson": "1.0.5",
|
2021-09-13 22:35:53 +00:00
|
|
|
"eslint-import-resolver-typescript": "2.5.0",
|
2021-10-29 02:24:42 +00:00
|
|
|
"eslint-plugin-flowtype": "8.0.3",
|
2022-01-04 03:43:48 +00:00
|
|
|
"eslint-plugin-import": "2.25.4",
|
2021-11-10 21:44:29 +00:00
|
|
|
"eslint-plugin-jsx-a11y": "6.5.1",
|
2021-08-31 00:23:06 +00:00
|
|
|
"eslint-plugin-prettier": "4.0.0",
|
2021-12-23 00:08:35 +00:00
|
|
|
"eslint-plugin-react": "7.28.0",
|
2021-11-09 22:44:00 +00:00
|
|
|
"eslint-plugin-react-hooks": "4.3.0",
|
2022-01-11 12:29:58 +00:00
|
|
|
"husky": "7.0.4",
|
2022-01-07 00:53:29 +00:00
|
|
|
"jest": "27.4.7",
|
2021-10-08 04:00:06 +00:00
|
|
|
"jest-transform-stub": "2.0.0",
|
|
|
|
"jest-watch-typeahead": "1.0.0",
|
2021-12-05 03:37:47 +00:00
|
|
|
"prettier": "2.5.1",
|
2021-08-03 06:25:13 +00:00
|
|
|
"react-test-renderer": "17.0.2",
|
2022-01-21 00:38:48 +00:00
|
|
|
"typescript": "4.5.5",
|
2022-01-19 07:22:27 +00:00
|
|
|
"vite": "2.7.13",
|
2021-10-11 09:30:02 +00:00
|
|
|
"vite-plugin-eslint": "1.3.0",
|
2022-01-18 00:25:28 +00:00
|
|
|
"vite-plugin-istanbul": "2.4.0",
|
2022-01-12 13:13:07 +00:00
|
|
|
"vite-plugin-svgr": "1.0.1",
|
2021-10-12 03:04:30 +00:00
|
|
|
"vite-tsconfig-paths": "3.3.17"
|
2019-11-18 23:37:36 +00:00
|
|
|
}
|
|
|
|
}
|