I upgraded several dependencies yesterday, including vite. Running `pnpm run dev:frontend` now prints: > [vite:react-swc] We recommend switching to `@vitejs/plugin-react` for improved performance as no swc plugins are used. More information at https://vite.dev/rolldown So in this PR I switch to `@vitejs/plugin-react`. Unless you had a specific reason to use `@vitejs/plugin-react-swc` instead?
56 lines
1.4 KiB
JSON
56 lines
1.4 KiB
JSON
{
|
|
"name": "@stats-organization/github-readme-stats-frontend",
|
|
"type": "module",
|
|
"license": "MIT",
|
|
"private": true,
|
|
"scripts": {
|
|
"dev": "vite",
|
|
"build": "vite build",
|
|
"preview": "vite preview",
|
|
"test": "vitest",
|
|
"test:e2e": "playwright test",
|
|
"lint": "eslint",
|
|
"typecheck": "tsc -p tsconfig.typecheck.json"
|
|
},
|
|
"dependencies": {
|
|
"@reduxjs/toolkit": "^2.11.2",
|
|
"@tailwindcss/vite": "^4.2.2",
|
|
"axios": "^1",
|
|
"axios-cache-interceptor": "^1",
|
|
"daisyui": "^5.5.19",
|
|
"@stats-organization/github-readme-stats-backend": "workspace:^",
|
|
"@stats-organization/github-readme-stats-core": "workspace:^",
|
|
"react": "^19.2.5",
|
|
"react-dom": "^19.2.5",
|
|
"react-icons": "^5.6.0",
|
|
"react-loading-skeleton": "^3.3.1",
|
|
"react-redux": "^9.2.0",
|
|
"react-spinners": "^0.17.0",
|
|
"react-toastify": "^11.0.5",
|
|
"redux": "^5.0.1",
|
|
"save-svg-as-png": "^1.4.17",
|
|
"uuid": "^13.0.0"
|
|
},
|
|
"devDependencies": {
|
|
"@types/react": "19.2.14",
|
|
"@types/react-dom": "19.2.3",
|
|
"@vitejs/plugin-react": "6.0.1",
|
|
"clsx": "2.1.1",
|
|
"tailwindcss": "4.2.2",
|
|
"vite": "catalog:default",
|
|
"vitest": "catalog:default"
|
|
},
|
|
"browserslist": {
|
|
"production": [
|
|
">0.2%",
|
|
"not dead",
|
|
"not op_mini all"
|
|
],
|
|
"development": [
|
|
"last 1 chrome version",
|
|
"last 1 firefox version",
|
|
"last 1 safari version"
|
|
]
|
|
}
|
|
}
|