refactor(web): move linting and testing deps to dev deps (#2105)

* refactor(web): move eslint and prettier to dev deps

* refactor(web): move chai, enzyme, jest and react-test-renderer
This commit is contained in:
Amir Zarrinkafsh 2021-06-21 09:39:17 +10:00 committed by GitHub
parent 709f06e950
commit 89a6b24845
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -9,10 +9,7 @@
"@fortawesome/react-fontawesome": "0.1.14",
"@material-ui/core": "4.11.4",
"@material-ui/icons": "4.11.2",
"@types/chai": "4.2.19",
"@types/classnames": "2.3.0",
"@types/enzyme": "3.10.8",
"@types/jest": "26.0.23",
"@types/node": "15.6.0",
"@types/qrcode.react": "1.0.1",
"@types/query-string": "6.3.0",
@ -22,14 +19,7 @@
"@types/react-router-dom": "5.1.7",
"axios": "0.21.1",
"babel-preset-react-app": "10.0.0",
"chai": "4.3.4",
"classnames": "2.3.1",
"enzyme": "3.11.0",
"enzyme-adapter-react-16": "1.15.6",
"eslint-config-prettier": "8.3.0",
"eslint-import-resolver-typescript": "2.4.0",
"eslint-plugin-prettier": "3.4.0",
"prettier": "2.3.1",
"qrcode.react": "1.0.1",
"query-string": "7.0.0",
"react": "16.14.0",
@ -39,7 +29,6 @@
"react-otp-input": "2.3.1",
"react-router-dom": "5.2.0",
"react-scripts": "4.0.3",
"react-test-renderer": "16.14.0",
"typescript": "4.3.4",
"u2f-api": "1.2.1"
},
@ -72,7 +61,18 @@
},
"devDependencies": {
"@craco/craco": "6.1.2",
"@types/chai": "4.2.19",
"@types/enzyme": "3.10.8",
"@types/jest": "26.0.23",
"chai": "4.3.4",
"craco-alias": "3.0.1",
"eslint-formatter-rdjson": "1.0.5"
"enzyme": "3.11.0",
"enzyme-adapter-react-16": "1.15.6",
"eslint-config-prettier": "8.3.0",
"eslint-formatter-rdjson": "1.0.5",
"eslint-import-resolver-typescript": "2.4.0",
"eslint-plugin-prettier": "3.4.0",
"prettier": "2.3.1",
"react-test-renderer": "16.14.0"
}
}