|
8 | 8 | "@mui/material": "^5.0.2",
|
9 | 9 | "@types/inflection": "^1.5.28",
|
10 | 10 | "@types/recharts": "^1.8.10",
|
| 11 | + "@vitejs/plugin-react": "^2.2.0", |
11 | 12 | "clsx": "^1.1.1",
|
12 | 13 | "data-generator-retail": "^4.0.0",
|
13 | 14 | "date-fns": "^2.19.0",
|
|
34 | 35 | "react-dom": "^17.0.0",
|
35 | 36 | "react-router": "^6.1.0",
|
36 | 37 | "react-router-dom": "^6.1.0",
|
37 |
| - "react-scripts": "^5.0.0", |
38 |
| - "recharts": "^2.1.5" |
| 38 | + "recharts": "^2.1.15" |
39 | 39 | },
|
40 | 40 | "scripts": {
|
41 | 41 | "analyze": "source-map-explorer 'build/static/js/*.js'",
|
42 |
| - "start": "react-scripts start", |
43 |
| - "build": "yarn node ./build.js", |
44 |
| - "eject": "react-scripts test" |
| 42 | + "dev": "vite", |
| 43 | + "build": "tsc && vite build", |
| 44 | + "preview": "vite preview" |
45 | 45 | },
|
46 |
| - "homepage": ".", |
47 |
| - "browserslist": [ |
48 |
| - ">0.2%", |
49 |
| - "not dead", |
50 |
| - "not ie <= 10", |
51 |
| - "not op_mini all" |
52 |
| - ], |
53 | 46 | "devDependencies": {
|
54 | 47 | "@types/fetch-mock": "^7.3.2",
|
55 | 48 | "@types/jest": "^26.0.19",
|
56 | 49 | "@types/node": "^12.12.14",
|
57 | 50 | "@types/prop-types": "^15.6.0",
|
58 | 51 | "@types/react": "^17.0.20",
|
59 | 52 | "@types/react-dom": "^17.0.9",
|
| 53 | + "@vitejs/plugin-react": "^2.2.0", |
60 | 54 | "rewire": "^5.0.0",
|
61 | 55 | "source-map-explorer": "^2.0.0",
|
62 |
| - "typescript": "^4.4.0" |
| 56 | + "typescript": "^4.4.0", |
| 57 | + "vite": "^3.2.0" |
63 | 58 | }
|
64 | 59 | }
|
0 commit comments