diff --git a/package.json b/package.json index 2498a98..96dc2f8 100644 --- a/package.json +++ b/package.json @@ -5,68 +5,67 @@ "@apollo/client": "^3.3.4", "@babel/code-frame": "^7.10.4", "@babel/helper-split-export-declaration": "^7.11.0", - "@craco/craco": "^5.8.0", + "@craco/craco": "^6.0.0", "@testing-library/jest-dom": "^4.2.4", "@testing-library/react": "^9.3.2", "@testing-library/user-event": "^7.1.2", "@types/graphql": "^14.5.0", - "antd": "^4.8.4", + "antd": "^4.9.2", "axios": "^0.21.0", "body-parser": "^1.19.0", "class-validator": "^0.12.2", "compression": "^1.7.4", "cookie-parser": "^1.4.5", "cors": "^2.8.5", - "craco-less": "^1.17.0", + "craco-less": "^1.17.1", "cross-fetch": "^3.0.6", "dotenv": "^8.2.0", - "dotenv-webpack": "^5.1.0", + "dotenv-webpack": "^6.0.0", "express": "^4.17.1", "express-http-proxy": "^1.6.2", "express-ntlm": "^2.5.2", "graphql": "^15.4.0", - "helmet": "^4.1.0", + "helmet": "^4.2.0", "lodash": "^4.17.20", "luxon": "^1.25.0", "mobx": "^6.0.4", "mobx-react-lite": "^3.1.6", "morgan": "^1.10.0", - "nodemon": "^2.0.4", "normalize.css": "^8.0.1", "pluralize": "^8.0.0", - "react": "^16.14.0", - "react-dom": "^16.14.0", + "react": "^17.0.1", + "react-dom": "^17.0.1", "react-router": "^5.2.0", "react-router-dom": "^5.2.0", - "react-scripts": "^3.4.4", + "react-scripts": "^4.0.1", "recompose": "^0.30.0", "reflect-metadata": "^0.1.13", - "styled-components": "^5.1.1", + "styled-components": "^5.2.1", "styled-system": "^5.1.5", - "ts-loader": "^8.0.2", - "typescript": "3.9.7", + "ts-loader": "^8.0.11", + "typescript": "4.1.2", "use-debounce": "^5.1.0", - "uuid": "^8.3.1", - "validator": "^13.1.1" + "uuid": "^8.3.2", + "validator": "^13.5.1" }, "devDependencies": { "@types/body-parser": "^1.19.0", "@types/compression": "^1.7.0", "@types/cookie-parser": "^1.4.2", - "@types/cors": "^2.8.7", - "@types/express": "^4.17.7", + "@types/cors": "^2.8.8", + "@types/express": "^4.17.9", "@types/express-http-proxy": "^1.6.1", - "@types/faker": "^5.1.0", "@types/jest": "^26.0.15", - "@types/lodash": "^4.14.159", + "@types/lodash": "^4.14.165", "@types/luxon": "^1.25.0", - "@types/morgan": "^1.9.1", - "@types/node": "^14.14.6", + "@types/morgan": "^1.9.2", + "@types/node": "^14.14.12", "@types/pluralize": "^0.0.29", "@types/react-router-dom": "^5.1.6", "@types/styled-components": "^5.1.2", "@types/styled-system": "^5.1.10", "http-proxy-middleware": "^1.0.6", + "nodemon": "^2.0.6", "rimraf": "^3.0.2", "webpack-cli": "^4.2.0", "webpack-node-externals": "^2.5.2" diff --git a/tsconfig.json b/tsconfig.json index ed254d9..7e37103 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -15,9 +15,10 @@ "resolveJsonModule": true, "isolatedModules": true, "noEmit": true, - "jsx": "react", + "jsx": "react-jsx", "baseUrl": "src", - "noImplicitAny": false + "noImplicitAny": false, + "noFallthroughCasesInSwitch": true }, "include": ["src", "src/client"], "exclude": ["src/server", "./node_modules/**/*"]