- Replace eslint and its plugins with oxlint, add .oxlintrc.json - Add type-check and check scripts, drop deploy and predeploy - Remove the GitHub Pages deploy workflow - Move dayjs setup to src/lib and export the configured instance - Bump React to 19.3, Vite to 8.3, Tailwind to 4.3 and other deps - Reformat the contact page with prettier
40 lines
961 B
JSON
40 lines
961 B
JSON
{
|
|
"name": "react-template",
|
|
"private": true,
|
|
"version": "0.0.0",
|
|
"type": "module",
|
|
"scripts": {
|
|
"dev": "vite",
|
|
"build": "tsc -b && vite build",
|
|
"lint": "oxlint",
|
|
"type-check": "tsc --noEmit",
|
|
"check": "oxlint && tsc --noEmit",
|
|
"preview": "vite preview"
|
|
},
|
|
"dependencies": {
|
|
"@reduxjs/toolkit": "^2.12.0",
|
|
"@tailwindcss/vite": "^4.3.3",
|
|
"axios": "^1.20.0",
|
|
"dayjs": "^1.11.23",
|
|
"react": "^19.3.0",
|
|
"react-dom": "^19.3.0",
|
|
"react-redux": "^9.3.0",
|
|
"react-router": "^7.18.3",
|
|
"react-router-dom": "^7.18.3",
|
|
"redux-persist": "^6.0.0",
|
|
"tailwindcss": "^4.3.3"
|
|
},
|
|
"devDependencies": {
|
|
"@eslint/js": "^9.39.5",
|
|
"@types/node": "^25.9.6",
|
|
"@types/react": "^19.3.0",
|
|
"@types/react-dom": "^19.3.0",
|
|
"@vitejs/plugin-react": "^6.1.1",
|
|
"globals": "^17.12.0",
|
|
"oxlint": "^1.82.0",
|
|
"prettier": "^3.9.6",
|
|
"typescript": "~6.0.3",
|
|
"vite": "^8.3.0"
|
|
}
|
|
}
|