|
101 | 101 | "jest": { |
102 | 102 | "globals": { |
103 | 103 | "ts-jest": { |
104 | | - "useBabelrc": true |
| 104 | + "babelConfig": true |
105 | 105 | } |
106 | 106 | }, |
107 | 107 | "modulePathIgnorePatterns": [ |
|
120 | 120 | "^.+\\.tsx?$": "ts-jest" |
121 | 121 | }, |
122 | 122 | "moduleFileExtensions": [ |
123 | | - "ts", |
124 | | - "tsx", |
125 | 123 | "js", |
126 | | - "jsx", |
127 | 124 | "json", |
128 | | - "node" |
129 | | - ] |
| 125 | + "jsx", |
| 126 | + "node", |
| 127 | + "ts", |
| 128 | + "tsx" |
| 129 | + ], |
| 130 | + "preset": "ts-jest/presets/js-with-babel", |
| 131 | + "testMatch": null |
130 | 132 | }, |
131 | 133 | "dependencies": { |
132 | 134 | "@manaflair/redux-batch": "^1.0.0", |
133 | 135 | "@reduxjs/toolkit": "^1.2.3", |
134 | | - "@types/lodash": "^4.14.149", |
135 | 136 | "electron-localshortcut": "^3.2.1", |
136 | 137 | "electron-log": "^2.2.9", |
137 | 138 | "electron-settings": "^3.1.3", |
|
176 | 177 | "@material-ui/lab": "^3.0.0-alpha.30", |
177 | 178 | "@rollup/plugin-typescript": "^2.1.0", |
178 | 179 | "@types/jest": "^24.0.25", |
| 180 | + "@types/lodash": "^4.14.149", |
179 | 181 | "@types/moxios": "^0.4.9", |
180 | 182 | "@types/node": "^13.1.4", |
181 | 183 | "@types/react-i18next": "^8.1.0", |
| 184 | + "@types/react-router": "^5.1.4", |
| 185 | + "@types/react-router-dom": "^5.1.3", |
182 | 186 | "animate.css": "^3.7.2", |
183 | 187 | "awaiting": "^3.0.0", |
184 | 188 | "axios": "0.18.1", |
|
236 | 240 | "react-map-gl": "^3.3.5", |
237 | 241 | "react-number-format": "^4.0.7", |
238 | 242 | "react-redux": "^5.0.7", |
239 | | - "react-router": "^4.3.1", |
240 | | - "react-router-dom": "^4.3.1", |
| 243 | + "react-router": "^5.1.2", |
| 244 | + "react-router-dom": "^5.1.2", |
241 | 245 | "react-spring": "^3.1.0", |
242 | 246 | "react-sticky-box": "^0.6.1", |
243 | 247 | "react-test-renderer": "^16.3.1", |
|
257 | 261 | "ts-jest": "^24.3.0", |
258 | 262 | "ts-loader": "^6.2.1", |
259 | 263 | "typeface-roboto": "^0.0.54", |
260 | | - "typescript": "^3.0.1", |
| 264 | + "typescript": "^3.7.5", |
261 | 265 | "uglifyjs-webpack-plugin": "^1.3.0", |
262 | 266 | "universal-analytics": "^0.4.15", |
263 | 267 | "vcf": "^2.0.1", |
|
0 commit comments