|
4 | 4 | "license": "Apache-2.0", |
5 | 5 | "private": true, |
6 | 6 | "dependencies": { |
| 7 | + "@babel/core": "7.28.5", |
| 8 | + "@babel/runtime": "7.28.4", |
7 | 9 | "@biomejs/biome": "2.3.5", |
8 | 10 | "@emotion/react": "11.11.1", |
9 | 11 | "@emotion/styled": "11.11.0", |
|
13 | 15 | "@mui/system": "5.11.2", |
14 | 16 | "@mui/x-charts": "7.3.2", |
15 | 17 | "@mui/x-date-pickers": "5.0.12", |
16 | | - "@types/jest": "29.5.6", |
| 18 | + "@testing-library/jest-dom": "6.9.1", |
| 19 | + "@testing-library/react": "12.1.5", |
| 20 | + "@testing-library/user-event": "14.6.1", |
| 21 | + "@types/jest": "30.0.0", |
17 | 22 | "@types/node": "20.8.7", |
18 | 23 | "@types/react": "17.0.65", |
19 | 24 | "@types/react-dom": "17.0.18", |
20 | 25 | "@types/swagger-ui-react": "4.18.2", |
21 | 26 | "@typescript-eslint/eslint-plugin": "6.8.0", |
22 | 27 | "@typescript-eslint/parser": "6.8.0", |
| 28 | + "babel-jest": "30.2.0", |
| 29 | + "babel-preset-react-app": "10.1.0", |
| 30 | + "cypress": "13.3.2", |
23 | 31 | "dayjs": "1.11.7", |
| 32 | + "eslint": "8.3.0", |
| 33 | + "eslint-config-react-app": "7.0.1", |
| 34 | + "jest": "30.2.0", |
| 35 | + "jest-environment-jsdom": "30.2.0", |
| 36 | + "jest-transform-stub": "2.0.0", |
24 | 37 | "monaco-editor": "0.34.1", |
25 | 38 | "monaco-editor-webpack-plugin": "7.1.0", |
26 | 39 | "react": "17.0.2", |
27 | | - "react-app-rewired": "2.2.1", |
| 40 | + "react-app-polyfill": "3.0.0", |
28 | 41 | "react-dom": "17.0.2", |
29 | 42 | "react-monaco-editor": "0.50.1", |
30 | 43 | "react-number-format": "4.9.4", |
31 | 44 | "react-router-dom": "6.6.1", |
32 | | - "react-scripts": "5.0.1", |
33 | 45 | "styled-components": "5.3.6", |
34 | 46 | "styled-icons": "10.47.0", |
35 | 47 | "swagger-ui-react": "5.9.0", |
|
44 | 56 | "scripts": { |
45 | 57 | "start": "vite", |
46 | 58 | "build": "vite build --outDir build", |
47 | | - "test": "react-app-rewired test", |
48 | | - "eject": "react-app-rewired eject", |
| 59 | + "test": "jest", |
49 | 60 | "lint": "eslint . --ext .ts", |
50 | 61 | "check-formatting": "biome check", |
51 | 62 | "format": "biome check --write", |
| 63 | + "type": "tsc", |
52 | 64 | "e2e-test": "cypress run" |
53 | 65 | }, |
54 | 66 | "eslintConfig": { |
55 | 67 | "extends": [ |
56 | 68 | "react-app", |
57 | 69 | "react-app/jest" |
58 | 70 | ] |
59 | | - }, |
60 | | - "browserslist": { |
61 | | - "production": [ |
62 | | - ">0.2%", |
63 | | - "not dead", |
64 | | - "not op_mini all" |
65 | | - ], |
66 | | - "development": [ |
67 | | - "last 1 chrome version", |
68 | | - "last 1 firefox version", |
69 | | - "last 1 safari version" |
70 | | - ] |
71 | | - }, |
72 | | - "devDependencies": { |
73 | | - "@testing-library/jest-dom": "6.1.4", |
74 | | - "@testing-library/react": "12.1.5", |
75 | | - "@testing-library/user-event": "14.5.1", |
76 | | - "cypress": "13.3.2", |
77 | | - "jest": "29.7.0", |
78 | | - "ts-jest": "29.1.1" |
79 | | - }, |
80 | | - "jest": { |
81 | | - "moduleNameMapper": { |
82 | | - "monaco-editor": "<rootDir>/mocks/monacoMock.js", |
83 | | - "swagger-ui-react": "<rootDir>/mocks/swaggerUIMock.js", |
84 | | - "@mui/x-charts": "<rootDir>/mocks/x-charts.js" |
85 | | - } |
86 | 71 | } |
87 | 72 | } |
0 commit comments