mirror of
https://github.com/0rangebananaspy/authelia.git
synced 2024-09-14 22:47:21 +07:00
6db5455762
This change will allow us to collect frontend code coverage from our Selenium based integration tests. Given that the frontend is embedded into the Go binary and the integration tests run with a compiled binary in Docker this poses some issues with the instrumented code and the ability for it to run in this manner. To fix this we need to relax Authelia's CSP for the integration tests. This is achieved by setting the env variable `ENVIRONMENT` to `dev`.
67 lines
1.8 KiB
JSON
67 lines
1.8 KiB
JSON
{
|
|
"name": "web",
|
|
"version": "0.1.0",
|
|
"private": true,
|
|
"dependencies": {
|
|
"@craco/craco": "^5.8.0",
|
|
"@fortawesome/fontawesome-svg-core": "^1.2.32",
|
|
"@fortawesome/free-regular-svg-icons": "^5.15.1",
|
|
"@fortawesome/free-solid-svg-icons": "^5.15.1",
|
|
"@fortawesome/react-fontawesome": "^0.1.12",
|
|
"@material-ui/core": "^4.11.0",
|
|
"@material-ui/icons": "^4.9.1",
|
|
"@types/chai": "^4.2.14",
|
|
"@types/classnames": "^2.2.11",
|
|
"@types/enzyme": "^3.10.8",
|
|
"@types/jest": "^26.0.15",
|
|
"@types/node": "^14.14.8",
|
|
"@types/qrcode.react": "^1.0.1",
|
|
"@types/query-string": "^6.3.0",
|
|
"@types/react": "^16.9.56",
|
|
"@types/react-dom": "^16.9.9",
|
|
"@types/react-ga": "^2.3.0",
|
|
"@types/react-router-dom": "^5.1.6",
|
|
"axios": "^0.21.0",
|
|
"babel-preset-react-app": "^10.0.0",
|
|
"chai": "^4.2.0",
|
|
"classnames": "^2.2.6",
|
|
"enzyme": "^3.11.0",
|
|
"enzyme-adapter-react-16": "^1.15.5",
|
|
"qrcode.react": "^1.0.0",
|
|
"query-string": "^6.13.7",
|
|
"react": "^16.14.0",
|
|
"react-dom": "^16.14.0",
|
|
"react-ga": "^3.2.1",
|
|
"react-loading": "^2.0.3",
|
|
"react-otp-input": "^2.3.0",
|
|
"react-router-dom": "^5.2.0",
|
|
"react-scripts": "^4.0.0",
|
|
"react-test-renderer": "^16.14.0",
|
|
"typescript": "^4.0.5",
|
|
"u2f-api": "^1.1.1"
|
|
},
|
|
"scripts": {
|
|
"start": "craco start",
|
|
"build": "react-scripts build",
|
|
"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": [
|
|
"last 1 chrome version",
|
|
"last 1 firefox version",
|
|
"last 1 safari version"
|
|
]
|
|
}
|
|
}
|