client: partially migrate to TypeScript

This commit is contained in:
Jesse Chan
2020-09-08 15:11:18 +08:00
parent 146daf2ecb
commit c78e5d88d1
199 changed files with 4153 additions and 3050 deletions

View File

@@ -43,9 +43,6 @@
"@babel/preset-react": "^7.10.4",
"@babel/preset-typescript": "^7.10.4",
"@formatjs/cli": "^2.8.0",
"@types/flux": "^3.1.9",
"@types/react-dom": "^16.9.8",
"@types/react-transition-group": "^4.4.0",
"argon2": "^0.27.0",
"autoprefixer": "^9.8.6",
"axios": "^0.20.0",
@@ -117,8 +114,13 @@
"devDependencies": {
"@babel/plugin-proposal-class-properties": "^7.10.4",
"@types/classnames": "^2.2.10",
"@types/d3": "^5.7.2",
"@types/flux": "^3.1.9",
"@types/react": "^16.9.49",
"@types/react-dom": "^16.9.8",
"@types/react-measure": "^2.0.6",
"@types/react-router-dom": "^5.1.5",
"@types/react-transition-group": "^4.4.0",
"@typescript-eslint/eslint-plugin": "^2.34.0",
"@typescript-eslint/parser": "^2.34.0",
"copy-webpack-plugin": "^6.1.0",
@@ -139,6 +141,7 @@
"nodemon": "^2.0.4",
"prettier": "^2.1.1",
"react-dev-utils": "^10.2.1",
"typed-emitter": "^1.3.0",
"typescript": "^4.0.2",
"webpack": "^4.44.1",
"webpack-dev-server": "^3.11.0",