|
3 | 3 | "homepage": "https://venus.io/", |
4 | 4 | "version": "0.1.0", |
5 | 5 | "private": true, |
| 6 | + "type": "module", |
6 | 7 | "dependencies": { |
| 8 | + "@tanstack/react-query": "^5.40.0", |
7 | 9 | "@testing-library/jest-dom": "^5.16.2", |
8 | 10 | "@testing-library/react": "^12.1.4", |
9 | 11 | "@testing-library/user-event": "^13.5.0", |
10 | | - "@types/jest": "^27.4.1", |
11 | | - "@types/node": "^16.7.13", |
12 | | - "@types/react": "^17.0.40", |
13 | | - "@types/react-dom": "^17.0.13", |
14 | 12 | "axios": "^0.26.1", |
15 | 13 | "classnames": "^2.3.1", |
16 | 14 | "normalize.css": "^8.0.1", |
17 | | - "react": "^17.0.2", |
18 | | - "react-dom": "^17.0.2", |
| 15 | + "react": "^18.3.1", |
| 16 | + "react-dom": "^18.3.1", |
19 | 17 | "react-particles": "2.9.3", |
20 | 18 | "react-router-dom": "^6.3.0", |
21 | | - "react-scripts": "5.0.0", |
22 | 19 | "react-scrolllock": "^5.0.1", |
23 | 20 | "tsparticles": "2.9.3", |
24 | 21 | "web-vitals": "^2.1.4" |
25 | 22 | }, |
26 | 23 | "scripts": { |
27 | | - "start": "react-app-rewired start", |
28 | | - "predeploy": "npm run build", |
29 | | - "build": "react-app-rewired build", |
30 | | - "test": "react-app-rewired test", |
31 | | - "eject": "react-scripts eject", |
| 24 | + "start": "vite", |
| 25 | + "build": "vite build", |
| 26 | + "preview": "vite preview", |
32 | 27 | "lint:fix": "yarn lint --fix && yarn pretty --write", |
33 | | - "lint": "eslint .", |
| 28 | + "lint": "yarn run eslint .", |
34 | 29 | "pretty": "yarn prettier \"src/**/*.{js,jsx,ts,tsx,html,json,md}\" public/**/*.html --check" |
35 | 30 | }, |
36 | 31 | "browserslist": { |
|
46 | 41 | ] |
47 | 42 | }, |
48 | 43 | "devDependencies": { |
| 44 | + "@types/jest": "^29.5.12", |
| 45 | + "@types/node": "^20.12.12", |
| 46 | + "@types/react": "^18.3.3", |
| 47 | + "@types/react-dom": "^18.3.0", |
| 48 | + "@typescript-eslint/eslint-plugin": "^7.11.0", |
| 49 | + "@typescript-eslint/parser": "^7.11.0", |
| 50 | + "@vitejs/plugin-react": "^4.3.1", |
49 | 51 | "autoprefixer": "^9.0.0", |
| 52 | + "eslint": "^8", |
50 | 53 | "eslint-config-airbnb": "^19.0.4", |
51 | | - "eslint-config-airbnb-typescript": "^16.1.0", |
52 | | - "eslint-config-prettier": "^8.5.0", |
53 | | - "eslint-plugin-jsx-a11y": "^6.5.1", |
54 | | - "eslint-plugin-prettier": "^4.0.0", |
| 54 | + "eslint-config-airbnb-typescript": "^18.0.0", |
| 55 | + "eslint-config-prettier": "^9.1.0", |
| 56 | + "eslint-plugin-import": "^2.29.1", |
| 57 | + "eslint-plugin-jsx-a11y": "^6.8.0", |
| 58 | + "eslint-plugin-prettier": "^5.1.3", |
| 59 | + "eslint-plugin-react": "^7.34.2", |
55 | 60 | "husky": "^7.0.4", |
56 | 61 | "lint-staged": "^12.3.5", |
57 | 62 | "postcss": "^8.4.8", |
|
64 | 69 | "react-app-rewire-postcss": "^3.0.2", |
65 | 70 | "react-app-rewired": "^2.2.1", |
66 | 71 | "react-snap": "^1.23.0", |
67 | | - "typescript": "^4.6.2" |
| 72 | + "typescript": "^5.4.5", |
| 73 | + "vite": "^5.3.1", |
| 74 | + "vite-plugin-svgr": "^4.2.0", |
| 75 | + "vite-tsconfig-paths": "^4.3.2" |
68 | 76 | }, |
69 | 77 | "resolutions": { |
70 | 78 | "postcss": "^8.4.8" |
|
0 commit comments