mirror of
https://github.com/0rangebananaspy/authelia.git
synced 2024-09-14 22:47:21 +07:00
180 lines
4.6 KiB
JSON
180 lines
4.6 KiB
JSON
{
|
|
"name": "authelia",
|
|
"version": "4.35.2",
|
|
"private": true,
|
|
"pnpm": {
|
|
"peerDependencyRules": {
|
|
"allowedVersions": {
|
|
"@types/react": "18",
|
|
"react": "18",
|
|
"react-dom": "18"
|
|
},
|
|
"ignoreMissing": [
|
|
"@babel/plugin-syntax-flow",
|
|
"@babel/plugin-transform-react-jsx",
|
|
"prop-types"
|
|
]
|
|
}
|
|
},
|
|
"dependencies": {
|
|
"@fortawesome/fontawesome-svg-core": "6.1.1",
|
|
"@fortawesome/free-regular-svg-icons": "6.1.1",
|
|
"@fortawesome/free-solid-svg-icons": "6.1.1",
|
|
"@fortawesome/react-fontawesome": "0.1.18",
|
|
"@material-ui/core": "4.12.4",
|
|
"@material-ui/icons": "4.11.3",
|
|
"@material-ui/styles": "4.11.5",
|
|
"axios": "0.27.2",
|
|
"classnames": "2.3.1",
|
|
"i18next": "21.7.1",
|
|
"i18next-browser-languagedetector": "6.1.4",
|
|
"i18next-http-backend": "1.4.0",
|
|
"qrcode.react": "3.0.1",
|
|
"query-string": "7.1.1",
|
|
"react": "18.1.0",
|
|
"react-dom": "18.1.0",
|
|
"react-i18next": "11.16.9",
|
|
"react-loading": "2.0.3",
|
|
"react-otp-input": "2.4.0",
|
|
"react-router-dom": "6.3.0",
|
|
"zxcvbn": "4.4.2"
|
|
},
|
|
"scripts": {
|
|
"prepare": "cd .. && husky install .github",
|
|
"start": "vite --host",
|
|
"build": "vite build",
|
|
"coverage": "VITE_COVERAGE=true vite build",
|
|
"lint": "eslint . --ext .js,.jsx,.ts,.tsx --fix",
|
|
"test": "jest --coverage --no-cache",
|
|
"report": "nyc report -r clover -r json -r lcov -r text"
|
|
},
|
|
"eslintConfig": {
|
|
"extends": "react-app"
|
|
},
|
|
"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|png|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"
|
|
],
|
|
"^@i18n/(.*)$": [
|
|
"<rootDir>/src/i18n/$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
|
|
},
|
|
"browserslist": {
|
|
"production": [
|
|
">0.2%",
|
|
"not dead",
|
|
"not op_mini all"
|
|
],
|
|
"development": [
|
|
">0.2%",
|
|
"not dead",
|
|
"not op_mini all",
|
|
"last 1 chrome version",
|
|
"last 1 firefox version",
|
|
"last 1 safari version"
|
|
]
|
|
},
|
|
"devDependencies": {
|
|
"@commitlint/cli": "16.2.4",
|
|
"@commitlint/config-conventional": "16.2.4",
|
|
"@testing-library/jest-dom": "5.16.4",
|
|
"@testing-library/react": "13.2.0",
|
|
"@types/node": "16.11.33",
|
|
"@types/qrcode.react": "1.0.2",
|
|
"@types/react": "18.0.9",
|
|
"@types/react-dom": "18.0.3",
|
|
"@types/zxcvbn": "4.4.1",
|
|
"@typescript-eslint/eslint-plugin": "5.22.0",
|
|
"@typescript-eslint/parser": "5.22.0",
|
|
"@vitejs/plugin-react": "1.3.2",
|
|
"esbuild": "0.14.38",
|
|
"esbuild-jest": "0.5.0",
|
|
"eslint": "8.15.0",
|
|
"eslint-config-prettier": "8.5.0",
|
|
"eslint-config-react-app": "7.0.1",
|
|
"eslint-formatter-rdjson": "1.0.5",
|
|
"eslint-import-resolver-typescript": "2.7.1",
|
|
"eslint-plugin-import": "2.26.0",
|
|
"eslint-plugin-jsx-a11y": "6.5.1",
|
|
"eslint-plugin-prettier": "4.0.0",
|
|
"eslint-plugin-react": "7.29.4",
|
|
"eslint-plugin-react-hooks": "4.5.0",
|
|
"husky": "7.0.4",
|
|
"jest": "28.1.0",
|
|
"jest-environment-jsdom": "28.1.0",
|
|
"jest-transform-stub": "2.0.0",
|
|
"jest-watch-typeahead": "1.1.0",
|
|
"prettier": "2.6.2",
|
|
"react-test-renderer": "18.1.0",
|
|
"typescript": "4.6.4",
|
|
"vite": "2.9.8",
|
|
"vite-plugin-eslint": "1.6.0",
|
|
"vite-plugin-istanbul": "2.7.3",
|
|
"vite-plugin-svgr": "2.1.0",
|
|
"vite-tsconfig-paths": "3.4.1"
|
|
}
|
|
}
|