616058b603
- Added a new profile route under the hidden layout. - Introduced a Sidebar component for navigation between inventory, add product, and profile pages. - Created InventoryPage to display a list of products with sorting and pagination. - Implemented ViewProduct page to show details of a selected product. - Integrated API calls for fetching products and product details. - Updated route tree to include new routes and components.
58 lines
1.6 KiB
JSON
58 lines
1.6 KiB
JSON
{
|
|
"name": "frontend",
|
|
"private": true,
|
|
"version": "0.0.0",
|
|
"type": "module",
|
|
"scripts": {
|
|
"dev": "vite",
|
|
"build": "tsc -b && vite build",
|
|
"lint": "eslint .",
|
|
"preview": "vite preview"
|
|
},
|
|
"peerDependencies": {
|
|
"react": "^17.0.0 || ^18.0.0 || ^19.0.0",
|
|
"react-dom": "^17.0.0 || ^18.0.0 || ^19.0.0"
|
|
},
|
|
"dependencies": {
|
|
"@emotion/react": "^11.14.0",
|
|
"@emotion/styled": "^11.14.1",
|
|
"@fontsource/inter": "^5.2.8",
|
|
"@mui/icons-material": "^9.0.1",
|
|
"@mui/joy": "^5.0.0-beta.52",
|
|
"@tailwindcss/vite": "^4.3.0",
|
|
"@tanstack/react-form": "^1.32.0",
|
|
"@tanstack/react-query": "^5.100.14",
|
|
"@tanstack/react-router": "^1.170.8",
|
|
"i18next": "^26.0.10",
|
|
"js-cookie": "^3.0.7",
|
|
"lucide-react": "^1.14.0",
|
|
"react": "^17.0.0 || ^18.0.0 || ^19.0.0",
|
|
"react-dom": "^17.0.0 || ^18.0.0 || ^19.0.0",
|
|
"react-i18next": "^17.0.8",
|
|
"react-toastify": "^11.1.0",
|
|
"tailwindcss": "^4.3.0",
|
|
"validator": "^13.15.35",
|
|
"zod": "^4.4.3"
|
|
},
|
|
"devDependencies": {
|
|
"@babel/core": "^7.29.0",
|
|
"@eslint/js": "^10.0.1",
|
|
"@rolldown/plugin-babel": "^0.2.3",
|
|
"@tanstack/router-vite-plugin": "^1.167.11",
|
|
"@types/babel__core": "^7.20.5",
|
|
"@types/js-cookie": "^3.0.6",
|
|
"@types/node": "^24.12.3",
|
|
"@types/react": "^19.2.14",
|
|
"@types/react-dom": "^19.2.3",
|
|
"@vitejs/plugin-react": "^6.0.1",
|
|
"babel-plugin-react-compiler": "^1.0.0",
|
|
"eslint": "^10.3.0",
|
|
"eslint-plugin-react-hooks": "^7.1.1",
|
|
"eslint-plugin-react-refresh": "^0.5.2",
|
|
"globals": "^17.6.0",
|
|
"typescript": "~6.0.2",
|
|
"typescript-eslint": "^8.59.2",
|
|
"vite": "^8.0.12"
|
|
}
|
|
}
|