Skip to content

Commit

Permalink
feat: init i18n config and deps
Browse files Browse the repository at this point in the history
  • Loading branch information
yidafu committed Mar 19, 2023
1 parent 2c18256 commit 87c8973
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
2 changes: 1 addition & 1 deletion web/.eslintrc
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"extends": ["plugin:react/recommended", "plugin:@typescript-eslint/recommended", "plugin:prettier/recommended"],
"plugins": ["react", "@typescript-eslint", "prettier"],
"plugins": ["react", "@typescript-eslint", "prettier", "i18n"],
"settings": {
"react": {
"pragma": "React",
Expand Down
6 changes: 6 additions & 0 deletions web/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,11 +19,15 @@
"@types/node": "^15.0.2",
"@types/react": "^17.0.2",
"babel-loader": "^8.2.2",
"babel-plugin-i18next-extract": "^0.9.0",
"clean-webpack-plugin": "^4.0.0-alpha.0",
"css-loader": "^5.2.4",
"css-minimizer-webpack-plugin": "^3.0.0",
"file-loader": "^6.2.0",
"html-webpack-plugin": "^5.3.1",
"i18next": "^22.4.12",
"i18next-browser-languagedetector": "^7.0.1",
"i18next-parser": "^1.0.0-beta38",
"mini-css-extract-plugin": "^1.6.0",
"monaco-editor": "^0.30.1",
"monaco-editor-webpack-plugin": "^6.0.0",
Expand All @@ -45,6 +49,7 @@
"cross-env": "^7.0.3",
"eslint": "^7.32.0",
"eslint-config-prettier": "^6.9.0",
"eslint-plugin-i18n": "^2.1.0",
"eslint-plugin-prettier": "^4.0.0",
"eslint-plugin-react": "^7.17.0",
"json-format": "^1.0.1",
Expand All @@ -54,6 +59,7 @@
"pretty-format": "^27.0.2",
"react": "^17.0.2",
"react-dom": "^17.0.2",
"react-i18next": "^12.2.0",
"react-redux": "^6.0.1",
"react-router": "^5.2.0",
"react-router-dom": "^5.2.0",
Expand Down

0 comments on commit 87c8973

Please sign in to comment.