|
4 | 4 | "private": true, |
5 | 5 | "proxy": "http://localhost:3001", |
6 | 6 | "dependencies": { |
7 | | - "@cmsgov/design-system": "^2.7.3", |
8 | | - "@types/node": "^12.0.0", |
9 | | - "@types/react": "^17.0.0", |
10 | | - "@types/react-dom": "^17.0.0", |
| 7 | + "@cmsgov/design-system": "^10.1.0", |
| 8 | + "@types/node": "^22.0.0", |
| 9 | + "@types/react": "^18.2.0", |
| 10 | + "@types/react-dom": "^18.2.0", |
| 11 | + "@vitejs/plugin-react-swc": "^3.7.2", |
11 | 12 | "axios": "^1.7.4", |
12 | | - "http-proxy-middleware": "^1.3.1", |
13 | 13 | "micromatch": "4.0.8", |
| 14 | + "process": "^0.11.10", |
14 | 15 | "react": "^18.2.0", |
15 | 16 | "react-dom": "^18.2.0", |
16 | 17 | "react-router-dom": "^6.4.2", |
17 | | - "react-scripts": "5.0.1", |
18 | 18 | "sass": "1.72.0", |
19 | 19 | "typescript": "^4.8.4", |
| 20 | + "vite-plugin-svgr": "^4.3.0", |
| 21 | + "vite-tsconfig-paths": "^5.1.3", |
20 | 22 | "web-vitals": "^3.0.3" |
21 | 23 | }, |
22 | 24 | "scripts": { |
23 | | - "start": "REACT_APP_CTX=docker react-scripts start", |
24 | | - "start-native": "REACT_APP_CTX=native react-scripts start", |
25 | | - "lint": "eslint --ext .ts --ext .js --ext .tsx .", |
26 | | - "build": "react-scripts build", |
27 | | - "test": "react-scripts test", |
28 | | - "eject": "react-scripts eject" |
| 25 | + "start": "vite dev --host", |
| 26 | + "build": "vite build", |
| 27 | + "preview": "vite preview", |
| 28 | + "lint": "eslint --max-warnings=100 src", |
| 29 | + "test": "TEST_APP_API_URL=http://localhost:3000 vitest", |
| 30 | + "coverage": "TEST_APP_API_URL=http://localhost:3000 vitest run --coverage" |
29 | 31 | }, |
30 | 32 | "eslintConfig": { |
31 | 33 | "extends": [ |
|
46 | 48 | ] |
47 | 49 | }, |
48 | 50 | "devDependencies": { |
| 51 | + "@eslint/compat": "^1.2.3", |
49 | 52 | "@testing-library/jest-dom": "^5.16.5", |
50 | 53 | "@testing-library/react": "^13.4.0", |
51 | 54 | "@testing-library/user-event": "^13.5.0", |
52 | 55 | "@types/jest": "^29.1.2", |
53 | 56 | "@types/react-router-dom": "^5.3.3", |
54 | 57 | "@typescript-eslint/eslint-plugin": "^5.12.0", |
55 | 58 | "@typescript-eslint/parser": "^5.12.0", |
56 | | - "eslint-config-react-app": "^7.0.0", |
57 | | - "eslint-plugin-react": "^7.28.0" |
| 59 | + "@vitest/coverage-v8": "2.1.6", |
| 60 | + "eslint": "^9.16.0", |
| 61 | + "eslint-config-react-app": "^7.0.1", |
| 62 | + "eslint-plugin-react": "^7.28.0", |
| 63 | + "jsdom": "^25.0.1", |
| 64 | + "react-error-overlay": "6.0.9", |
| 65 | + "vite": "^6.0.0", |
| 66 | + "vite-plugin-eslint": "^1.8.1", |
| 67 | + "vitest": "^2.1.6" |
58 | 68 | }, |
59 | 69 | "resolutions": { |
60 | 70 | "@types/react": "^17.0.2" |
|
0 commit comments