mirror of
https://github.com/0rangebananaspy/authelia.git
synced 2024-09-14 22:47:21 +07:00
25fe7b1ebe
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.
78 lines
2.1 KiB
JSON
78 lines
2.1 KiB
JSON
{
|
|
"name": "web",
|
|
"version": "0.1.0",
|
|
"private": true,
|
|
"dependencies": {
|
|
"@craco/craco": "6.1.1",
|
|
"@fortawesome/fontawesome-svg-core": "1.2.34",
|
|
"@fortawesome/free-regular-svg-icons": "5.15.2",
|
|
"@fortawesome/free-solid-svg-icons": "5.15.2",
|
|
"@fortawesome/react-fontawesome": "0.1.14",
|
|
"@material-ui/core": "4.11.3",
|
|
"@material-ui/icons": "4.11.2",
|
|
"@types/chai": "4.2.15",
|
|
"@types/classnames": "2.2.11",
|
|
"@types/enzyme": "3.10.8",
|
|
"@types/jest": "26.0.20",
|
|
"@types/node": "14.14.34",
|
|
"@types/qrcode.react": "1.0.1",
|
|
"@types/query-string": "6.3.0",
|
|
"@types/react": "17.0.3",
|
|
"@types/react-dom": "17.0.2",
|
|
"@types/react-ga": "2.3.0",
|
|
"@types/react-router-dom": "5.1.7",
|
|
"axios": "0.21.1",
|
|
"babel-preset-react-app": "10.0.0",
|
|
"chai": "4.3.4",
|
|
"classnames": "2.2.6",
|
|
"enzyme": "3.11.0",
|
|
"enzyme-adapter-react-16": "1.15.6",
|
|
"eslint-config-prettier": "8.1.0",
|
|
"eslint-import-resolver-typescript": "2.4.0",
|
|
"eslint-plugin-prettier": "3.3.1",
|
|
"prettier": "2.2.1",
|
|
"qrcode.react": "1.0.1",
|
|
"query-string": "6.14.1",
|
|
"react": "16.14.0",
|
|
"react-dom": "16.14.0",
|
|
"react-ga": "3.3.0",
|
|
"react-loading": "2.0.3",
|
|
"react-otp-input": "2.3.0",
|
|
"react-router-dom": "5.2.0",
|
|
"react-scripts": "4.0.3",
|
|
"react-test-renderer": "16.14.0",
|
|
"typescript": "4.2.3",
|
|
"u2f-api": "1.2.1"
|
|
},
|
|
"scripts": {
|
|
"start": "craco start",
|
|
"build": "react-scripts build",
|
|
"lint": "eslint '*/**/*.{js,ts,tsx}' --fix",
|
|
"coverage": "craco build",
|
|
"test": "react-scripts 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": [
|
|
">0.2%",
|
|
"not dead",
|
|
"not op_mini all",
|
|
"last 1 chrome version",
|
|
"last 1 firefox version",
|
|
"last 1 safari version"
|
|
]
|
|
},
|
|
"devDependencies": {
|
|
"eslint-formatter-rdjson": "1.0.3"
|
|
}
|
|
}
|