authelia/web/package.json

79 lines
2.2 KiB
JSON
Raw Normal View History

{
"name": "web",
"version": "0.1.0",
"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",
"axios": "0.21.4",
"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-dom": "5.3.0",
"u2f-api": "1.2.1"
},
"scripts": {
"prepare": "cd .. && husky install .github",
"start": "craco start",
"build": "craco build",
"lint": "eslint . --ext .js,.jsx,.ts,.tsx --fix",
"coverage": "COVERAGE=true craco build",
"test": "craco test --coverage --no-cache",
"report": "nyc report -r clover -r json -r lcov -r text",
"eject": "react-scripts eject"
},
"eslintConfig": {
"extends": "react-app"
},
"browserslist": {
"production": [
">0.2%",
"not dead",
"not op_mini all"
],
"development": [
fix(web): fix compilation and running in development mode (#1821) During a `yarn start` the react frontend would throw the following errors during compilation: ``` Starting the development server... Compiled with warnings. ./src/index.css (./node_modules/css-loader/dist/cjs.js??ref--5-oneOf-4-1!./node_modules/postcss-loader/src??postcss!./src/index.css) Warning Greetings, time traveller. We are in the golden age of prefix-less CSS, where Autoprefixer is no longer needed for your stylesheet. ./node_modules/@fortawesome/fontawesome-svg-core/styles.css (./node_modules/css-loader/dist/cjs.js??ref--5-oneOf-4-1!./node_modules/postcss-loader/src??postcss!./node_modules/@fortawesome/fontawesome-svg-core/styles.css) Warning Greetings, time traveller. We are in the golden age of prefix-less CSS, where Autoprefixer is no longer needed for your stylesheet. ./src/components/FingerTouchIcon.module.css (./node_modules/css-loader/dist/cjs.js??ref--5-oneOf-5-1!./node_modules/postcss-loader/src??postcss!./src/components/FingerTouchIcon.module.css) Warning Greetings, time traveller. We are in the golden age of prefix-less CSS, where Autoprefixer is no longer needed for your stylesheet. ./src/components/PushNotificationIcon.module.css (./node_modules/css-loader/dist/cjs.js??ref--5-oneOf-5-1!./node_modules/postcss-loader/src??postcss!./src/components/PushNotificationIcon.module.css) Warning Greetings, time traveller. We are in the golden age of prefix-less CSS, where Autoprefixer is no longer needed for your stylesheet. Search for the keywords to learn more about each warning. To ignore, add // eslint-disable-next-line to the line before. ``` This in turn would mean that the server would never finish loading. This change will allow the code to compile and run appropriately both in production and development modes.
2021-03-13 03:09:51 +00:00
">0.2%",
"not dead",
"not op_mini all",
"last 1 chrome version",
"last 1 firefox version",
"last 1 safari version"
]
},
"devDependencies": {
"@commitlint/cli": "13.1.0",
"@commitlint/config-conventional": "13.1.0",
"@craco/craco": "6.3.0",
"@testing-library/jest-dom": "5.14.1",
"@testing-library/react": "12.1.0",
"@types/classnames": "2.3.0",
"@types/node": "15.6.0",
"@types/qrcode.react": "1.0.2",
"@types/query-string": "6.3.0",
"@types/react": "17.0.20",
"@types/react-dom": "17.0.9",
"@types/react-ga": "2.3.0",
"@types/react-router-dom": "5.1.8",
"babel-preset-react-app": "10.0.0",
"craco-alias": "3.0.1",
"eslint-config-prettier": "8.3.0",
"eslint-formatter-rdjson": "1.0.5",
"eslint-import-resolver-typescript": "2.4.0",
"eslint-plugin-prettier": "4.0.0",
"husky": "7.0.2",
"prettier": "2.4.0",
"react-scripts": "4.0.3",
"react-test-renderer": "17.0.2",
"typescript": "4.4.3"
}
}