|
4 | 4 | "private": false, |
5 | 5 | "dependencies": { |
6 | 6 | "@amplitude/analytics-browser": "^1.5.5", |
7 | | - "@craco/craco": "^6.4.5", |
| 7 | + "@tanstack/query-async-storage-persister": "^5.8.3", |
8 | 8 | "@tanstack/react-query": "^4.13.0", |
| 9 | + "@tanstack/react-query-persist-client": "^5.8.4", |
9 | 10 | "@types/dompurify": "^2.3.4", |
10 | 11 | "@types/jspath": "^0.4.0", |
11 | 12 | "axios": "^0.21.2", |
|
27 | 28 | "react-markdown": "^7.0.1", |
28 | 29 | "react-modal": "^3.12.1", |
29 | 30 | "react-pro-sidebar": "^0.6.0", |
30 | | - "react-scripts": "4.0.1", |
31 | 31 | "react-select": "^5.0.1", |
| 32 | + "react-share": "^4.4.1", |
| 33 | + "react-simple-toasts": "^5.10.0", |
32 | 34 | "react-spinners": "^0.10.4", |
33 | 35 | "react-spring-bottom-sheet": "^3.4.1", |
34 | 36 | "react-toggle": "^4.1.1", |
|
37 | 39 | "styled-components": "2", |
38 | 40 | "timeago.js": "^4.0.2", |
39 | 41 | "type-fest": "^1.2.0", |
| 42 | + "vite-plugin-ejs": "^1.6.4", |
40 | 43 | "web-vitals": "^0.2.4", |
41 | 44 | "zustand": "^4.3.3" |
42 | 45 | }, |
43 | | - "proxy": "https://api.hackertab.dev/", |
44 | 46 | "scripts": { |
45 | | - "start": "craco start", |
46 | | - "build-web": "./script/build-web.sh", |
47 | | - "build": "./script/build.sh", |
48 | | - "build-firefox": "./script/build-firefox.sh", |
49 | | - "build-chrome": "./script/build-chrome.sh", |
50 | | - "eject": "react-scripts eject" |
| 47 | + "start": "vite", |
| 48 | + "build:web": "VITE_BUILD_TARGET=web ./script/build.sh", |
| 49 | + "build:ext": "VITE_BUILD_TARGET=extension ./script/build.sh", |
| 50 | + "build:firefox": "./script/build-firefox.sh", |
| 51 | + "build:chrome": "./script/build-chrome.sh" |
51 | 52 | }, |
52 | 53 | "eslintConfig": { |
53 | 54 | "extends": [ |
54 | 55 | "react-app", |
55 | 56 | "react-app/jest" |
56 | 57 | ] |
57 | 58 | }, |
58 | | - "browserslist": { |
59 | | - "production": [ |
60 | | - ">0.2%", |
61 | | - "not dead", |
62 | | - "not op_mini all" |
63 | | - ], |
64 | | - "development": [ |
65 | | - "last 1 chrome version", |
66 | | - "last 1 firefox version", |
67 | | - "last 1 safari version" |
68 | | - ] |
69 | | - }, |
| 59 | + "browserslist": [ |
| 60 | + ">0.2%", |
| 61 | + "not dead", |
| 62 | + "not op_mini all" |
| 63 | + ], |
70 | 64 | "resolutions": { |
71 | 65 | "react-error-overlay": "6.0.9" |
72 | 66 | }, |
73 | 67 | "devDependencies": { |
74 | 68 | "@testing-library/jest-dom": "^5.11.4", |
75 | 69 | "@testing-library/react": "^11.1.0", |
76 | 70 | "@testing-library/user-event": "^12.1.10", |
77 | | - "@types/chrome": "^0.0.198", |
| 71 | + "@types/chrome": "^0.0.241", |
78 | 72 | "@types/jest": "^29.1.2", |
79 | 73 | "@types/jsonpath": "^0.2.0", |
80 | | - "@types/node": "^18.11.0", |
| 74 | + "@types/node": "^20.4.2", |
81 | 75 | "@types/react": "^18.0.21", |
82 | 76 | "@types/react-dom": "^18.0.6", |
83 | 77 | "@types/react-modal": "^3.13.1", |
84 | 78 | "@types/react-toggle": "^4.0.3", |
85 | 79 | "@typescript-eslint/eslint-plugin": "^5.45.0", |
86 | 80 | "@typescript-eslint/parser": "^5.40.1", |
| 81 | + "@vitejs/plugin-react": "^4.0.3", |
87 | 82 | "eslint-config-airbnb": "19.0.4", |
88 | 83 | "eslint-config-airbnb-typescript": "^17.0.0", |
89 | 84 | "eslint-config-prettier": "^8.5.0", |
|
96 | 91 | "eslint-plugin-react": "^7.28.0", |
97 | 92 | "eslint-plugin-react-hooks": "^4.3.0", |
98 | 93 | "prettier": "^2.7.1", |
99 | | - "typescript": "^4.8.4" |
| 94 | + "terser": "^5.19.2", |
| 95 | + "typescript": "^5.1.6", |
| 96 | + "vite": "^4.4.5", |
| 97 | + "vite-plugin-svgr": "^3.2.0", |
| 98 | + "vite-tsconfig-paths": "^4.2.0" |
100 | 99 | } |
101 | 100 | } |
0 commit comments