mirror of
https://github.com/0rangebananaspy/authelia.git
synced 2024-09-14 22:47:21 +07:00
158 lines
4.1 KiB
JSON
158 lines
4.1 KiB
JSON
{
|
|
"name": "authelia",
|
|
"version": "4.32.2",
|
|
"private": true,
|
|
"dependencies": {
|
|
"@fortawesome/fontawesome-svg-core": "1.2.36",
|
|
"@fortawesome/free-regular-svg-icons": "5.15.4",
|
|
"@fortawesome/free-solid-svg-icons": "5.15.4",
|
|
"@fortawesome/react-fontawesome": "0.1.15",
|
|
"@material-ui/core": "4.12.3",
|
|
"@material-ui/icons": "4.11.2",
|
|
"@material-ui/styles": "4.11.4",
|
|
"axios": "0.22.0",
|
|
"classnames": "2.3.1",
|
|
"qrcode.react": "1.0.1",
|
|
"query-string": "7.0.1",
|
|
"react": "17.0.2",
|
|
"react-dom": "17.0.2",
|
|
"react-ga": "3.3.0",
|
|
"react-loading": "2.0.3",
|
|
"react-otp-input": "2.4.0",
|
|
"react-router": "5.2.1",
|
|
"react-router-dom": "5.3.0",
|
|
"u2f-api": "1.2.1"
|
|
},
|
|
"scripts": {
|
|
"prepare": "cd .. && husky install .github",
|
|
"start": "vite --host",
|
|
"build": "vite build",
|
|
"lint": "eslint . --ext .js,.jsx,.ts,.tsx --fix",
|
|
"coverage": "VITE_COVERAGE=true vite build",
|
|
"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|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
|
|
},
|
|
"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": "13.2.1",
|
|
"@commitlint/config-conventional": "13.2.0",
|
|
"@testing-library/jest-dom": "5.14.1",
|
|
"@testing-library/react": "12.1.2",
|
|
"@types/node": "16.10.3",
|
|
"@types/qrcode.react": "1.0.2",
|
|
"@types/react": "17.0.27",
|
|
"@types/react-dom": "17.0.9",
|
|
"@types/react-router-dom": "5.3.1",
|
|
"@typescript-eslint/eslint-plugin": "4.33.0",
|
|
"@typescript-eslint/parser": "4.33.0",
|
|
"esbuild-jest": "0.5.0",
|
|
"eslint-config-prettier": "8.3.0",
|
|
"eslint-config-react-app": "6.0.0",
|
|
"eslint-formatter-rdjson": "1.0.5",
|
|
"eslint-import-resolver-typescript": "2.5.0",
|
|
"eslint-plugin-flowtype": "6.1.0",
|
|
"eslint-plugin-import": "2.24.2",
|
|
"eslint-plugin-jsx-a11y": "6.4.1",
|
|
"eslint-plugin-prettier": "4.0.0",
|
|
"eslint-plugin-react": "7.26.1",
|
|
"eslint-plugin-react-hooks": "4.2.0",
|
|
"husky": "7.0.2",
|
|
"jest": "27.2.5",
|
|
"jest-transform-stub": "2.0.0",
|
|
"jest-watch-typeahead": "1.0.0",
|
|
"prettier": "2.4.1",
|
|
"react-test-renderer": "17.0.2",
|
|
"typescript": "4.4.3",
|
|
"vite": "2.6.5",
|
|
"vite-plugin-istanbul": "2.2.0",
|
|
"vite-plugin-svgr": "0.4.0",
|
|
"vite-react": "0.0.41",
|
|
"vite-tsconfig-paths": "3.3.15"
|
|
}
|
|
}
|