|
3 | 3 | "version": "0.1.0", |
4 | 4 | "private": true, |
5 | 5 | "dependencies": { |
6 | | - "@testing-library/jest-dom": "^5.14.1", |
7 | | - "@testing-library/react": "^13.0.0", |
8 | | - "@testing-library/user-event": "^13.2.1", |
9 | | - "@types/jest": "^27.0.1", |
10 | | - "@types/katex": "^0.14.0", |
11 | | - "@types/lz-string": "^1.3.34", |
12 | | - "@types/node": "^16.7.13", |
13 | | - "@types/react": "^18.0.0", |
14 | | - "@types/react-dom": "^18.0.0", |
15 | | - "@types/shallowequal": "^1.1.1", |
16 | | - "@types/styled-components": "^5.1.26", |
17 | | - "husky": "^8.0.1", |
18 | 6 | "katex": "^0.16.2", |
19 | 7 | "latex.css": "^1.8.0", |
20 | | - "lint-staged": "^13.0.3", |
21 | 8 | "lz-string": "^1.4.4", |
22 | | - "prettier": "^2.7.1", |
23 | 9 | "react": "^18.2.0", |
24 | 10 | "react-dom": "^18.2.0", |
25 | | - "react-scripts": "5.0.1", |
| 11 | + "react-is": "^19.2.0", |
26 | 12 | "shallowequal": "^1.1.0", |
27 | | - "styled-components": "^5.3.6", |
28 | | - "typescript": "^4.4.2", |
| 13 | + "styled-components": "^6", |
29 | 14 | "web-vitals": "^2.1.0" |
30 | 15 | }, |
31 | 16 | "scripts": { |
32 | | - "start": "react-scripts start", |
33 | | - "build": "react-scripts build", |
34 | | - "test": "react-scripts test", |
35 | | - "eject": "react-scripts eject" |
36 | | - }, |
37 | | - "eslintConfig": { |
38 | | - "extends": [ |
39 | | - "react-app", |
40 | | - "react-app/jest" |
41 | | - ] |
| 17 | + "dev": "vite", |
| 18 | + "start": "vite", |
| 19 | + "build": "tsc -b && vite build", |
| 20 | + "preview": "vite preview", |
| 21 | + "test": "vitest", |
| 22 | + "test:ui": "vitest --ui", |
| 23 | + "test:coverage": "vitest --coverage" |
42 | 24 | }, |
43 | 25 | "browserslist": { |
44 | 26 | "production": [ |
|
61 | 43 | "src/**/*.{js,jsx,ts,tsx,json,css,scss,md}": [ |
62 | 44 | "prettier --write" |
63 | 45 | ] |
| 46 | + }, |
| 47 | + "devDependencies": { |
| 48 | + "@testing-library/dom": "^10.4.1", |
| 49 | + "@testing-library/jest-dom": "^6", |
| 50 | + "@testing-library/react": "^14", |
| 51 | + "@testing-library/user-event": "^14", |
| 52 | + "@types/jest": "^30.0.0", |
| 53 | + "@types/katex": "^0.16.7", |
| 54 | + "@types/node": "^24.10.1", |
| 55 | + "@types/react": "^18", |
| 56 | + "@types/react-dom": "^18", |
| 57 | + "@types/shallowequal": "^1.1.5", |
| 58 | + "@types/styled-components": "^5.1.36", |
| 59 | + "@vitejs/plugin-react": "^5.1.1", |
| 60 | + "@vitest/coverage-v8": "^4.0.13", |
| 61 | + "@vitest/ui": "^4.0.13", |
| 62 | + "husky": "^8.0.1", |
| 63 | + "jsdom": "^27.2.0", |
| 64 | + "lint-staged": "^13.0.3", |
| 65 | + "prettier": "^2.7.1", |
| 66 | + "typescript": "^5.9.3", |
| 67 | + "vite": "^7.2.4", |
| 68 | + "vite-tsconfig-paths": "^5.1.4", |
| 69 | + "vitest": "^4.0.13" |
64 | 70 | } |
65 | 71 | } |
0 commit comments