This PR mainly refactors the code by extracting a "core" package which is then used by the "backend" and "frontend" apps. Apart from this the PR also contains several smaller changes like fixing dependabot, upgrading dependencies, aligned "package.json" files, added tests, ... addresses step 1 of #32 closes #136 --------- Co-authored-by: Marco Pasqualetti <marco.pasqualetti@live.com>
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.1",
|
|
"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": "^18.3.1",
|
|
"react-dom": "^18.3.1",
|
|
"react-icons": "^5.5.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": "18.3.27",
|
|
"@types/react-dom": "18.3.7",
|
|
"@vitejs/plugin-react-swc": "4.2.3",
|
|
"clsx": "2.1.1",
|
|
"tailwindcss": "4.2.1",
|
|
"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"
|
|
]
|
|
}
|
|
}
|