2019-11-19 06:37:36 +07:00
|
|
|
{
|
2021-10-08 11:00:06 +07:00
|
|
|
"name": "authelia",
|
2021-10-10 18:12:12 +07:00
|
|
|
"version": "4.32.2",
|
2019-11-19 06:37:36 +07:00
|
|
|
"private": true,
|
|
|
|
"dependencies": {
|
2021-08-05 03:00:27 +07: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-08-04 03:27:29 +07:00
|
|
|
"@fortawesome/react-fontawesome": "0.1.15",
|
2021-07-30 19:28:36 +07:00
|
|
|
"@material-ui/core": "4.12.3",
|
2021-01-30 12:26:23 +07:00
|
|
|
"@material-ui/icons": "4.11.2",
|
2021-10-08 11:00:06 +07:00
|
|
|
"@material-ui/styles": "4.11.4",
|
2021-10-01 18:42:36 +07:00
|
|
|
"axios": "0.22.0",
|
2021-04-03 16:17:36 +07:00
|
|
|
"classnames": "2.3.1",
|
2021-01-30 12:26:23 +07:00
|
|
|
"qrcode.react": "1.0.1",
|
2021-06-22 03:44:17 +07:00
|
|
|
"query-string": "7.0.1",
|
2021-08-03 13:25:13 +07:00
|
|
|
"react": "17.0.2",
|
|
|
|
"react-dom": "17.0.2",
|
2021-01-30 12:26:23 +07:00
|
|
|
"react-ga": "3.3.0",
|
|
|
|
"react-loading": "2.0.3",
|
2021-06-24 18:22:30 +07:00
|
|
|
"react-otp-input": "2.4.0",
|
2021-10-08 11:00:06 +07:00
|
|
|
"react-router": "5.2.1",
|
2021-09-04 10:47:03 +07:00
|
|
|
"react-router-dom": "5.3.0",
|
2021-01-30 12:26:23 +07:00
|
|
|
"u2f-api": "1.2.1"
|
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",
|
2021-08-22 18:16:19 +07:00
|
|
|
"lint": "eslint . --ext .js,.jsx,.ts,.tsx --fix",
|
2021-10-08 11:00:06 +07:00
|
|
|
"coverage": "VITE_COVERAGE=true vite build",
|
|
|
|
"test": "jest --coverage --no-cache",
|
2021-10-02 12:56:46 +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
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"^.+\\.(css|svg)$": "jest-transform-stub"
|
|
|
|
},
|
|
|
|
"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"
|
|
|
|
],
|
|
|
|
"^@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": {
|
2021-10-09 17:25:37 +07:00
|
|
|
"@commitlint/cli": "13.2.1",
|
2021-09-29 08:16:56 +07:00
|
|
|
"@commitlint/config-conventional": "13.2.0",
|
2021-08-03 13:54:59 +07:00
|
|
|
"@testing-library/jest-dom": "5.14.1",
|
2021-10-04 05:48:02 +07:00
|
|
|
"@testing-library/react": "12.1.2",
|
2021-10-08 11:00:06 +07:00
|
|
|
"@types/node": "16.10.3",
|
2021-08-03 13:25:13 +07:00
|
|
|
"@types/qrcode.react": "1.0.2",
|
2021-10-04 06:21:48 +07:00
|
|
|
"@types/react": "17.0.27",
|
2021-08-03 13:25:13 +07:00
|
|
|
"@types/react-dom": "17.0.9",
|
2021-10-07 06:35:04 +07:00
|
|
|
"@types/react-router-dom": "5.3.1",
|
2021-10-08 11:00:06 +07:00
|
|
|
"@typescript-eslint/eslint-plugin": "4.33.0",
|
|
|
|
"@typescript-eslint/parser": "4.33.0",
|
|
|
|
"esbuild-jest": "0.5.0",
|
2021-06-21 06:39:17 +07:00
|
|
|
"eslint-config-prettier": "8.3.0",
|
2021-10-08 11:00:06 +07:00
|
|
|
"eslint-config-react-app": "6.0.0",
|
2021-06-21 06:39:17 +07:00
|
|
|
"eslint-formatter-rdjson": "1.0.5",
|
2021-09-14 05:35:53 +07:00
|
|
|
"eslint-import-resolver-typescript": "2.5.0",
|
2021-10-08 11:00:06 +07:00
|
|
|
"eslint-plugin-flowtype": "6.1.0",
|
|
|
|
"eslint-plugin-import": "2.24.2",
|
|
|
|
"eslint-plugin-jsx-a11y": "6.4.1",
|
2021-08-31 07:23:06 +07:00
|
|
|
"eslint-plugin-prettier": "4.0.0",
|
2021-10-08 11:00:06 +07:00
|
|
|
"eslint-plugin-react": "7.26.1",
|
|
|
|
"eslint-plugin-react-hooks": "4.2.0",
|
2021-09-09 10:44:43 +07:00
|
|
|
"husky": "7.0.2",
|
2021-10-09 05:31:59 +07:00
|
|
|
"jest": "27.2.5",
|
2021-10-08 11:00:06 +07:00
|
|
|
"jest-transform-stub": "2.0.0",
|
|
|
|
"jest-watch-typeahead": "1.0.0",
|
2021-09-16 16:59:26 +07:00
|
|
|
"prettier": "2.4.1",
|
2021-08-03 13:25:13 +07:00
|
|
|
"react-test-renderer": "17.0.2",
|
2021-10-08 11:00:06 +07:00
|
|
|
"typescript": "4.4.3",
|
2021-10-08 11:17:47 +07:00
|
|
|
"vite": "2.6.5",
|
2021-10-08 11:00:06 +07:00
|
|
|
"vite-plugin-istanbul": "2.2.0",
|
|
|
|
"vite-plugin-svgr": "0.4.0",
|
2021-10-09 19:16:44 +07:00
|
|
|
"vite-react": "0.0.41",
|
2021-10-10 05:13:55 +07:00
|
|
|
"vite-tsconfig-paths": "3.3.15"
|
2019-11-19 06:37:36 +07:00
|
|
|
}
|
|
|
|
}
|