Refactored order creation logic to use new serializers and transaction handling, improving validation and modularity. Introduced admin and public endpoints for shop configuration with sensitive fields protected. Enhanced Zásilkovna (Packeta) integration, including packet widget template, new API fields, and improved error handling. Added django-silk for profiling, updated requirements and settings, and improved frontend Orval config for API client generation.
44 lines
1.1 KiB
JSON
44 lines
1.1 KiB
JSON
{
|
|
"name": "frontend",
|
|
"private": true,
|
|
"version": "0.0.0",
|
|
"type": "module",
|
|
"scripts": {
|
|
"dev": "vite",
|
|
"build": "tsc -b && tsc -b && vite build",
|
|
"lint": "eslint .",
|
|
"preview": "vite preview",
|
|
"api:gen": "orval --config orval.config.ts"
|
|
},
|
|
"dependencies": {
|
|
"@tailwindcss/vite": "^4.1.16",
|
|
"@tanstack/react-query": "^5.90.12",
|
|
"@types/react-router": "^5.1.20",
|
|
"axios": "^1.13.0",
|
|
"dotenv": "^17.2.3",
|
|
"orval": "^7.13.2",
|
|
"react": "^19.1.1",
|
|
"react-dom": "^19.1.1",
|
|
"react-icons": "^5.5.0",
|
|
"react-router-dom": "^7.8.1",
|
|
"tailwindcss": "^4.1.16"
|
|
},
|
|
"devDependencies": {
|
|
"@eslint/js": "^9.33.0",
|
|
"@tailwindcss/postcss": "^4.1.17",
|
|
"@types/axios": "^0.9.36",
|
|
"@types/node": "^24.10.1",
|
|
"@types/react": "^19.1.10",
|
|
"@types/react-dom": "^19.1.7",
|
|
"@vitejs/plugin-react": "^5.0.0",
|
|
"autoprefixer": "^10.4.21",
|
|
"eslint": "^9.33.0",
|
|
"eslint-plugin-react-hooks": "^5.2.0",
|
|
"eslint-plugin-react-refresh": "^0.4.20",
|
|
"globals": "^16.3.0",
|
|
"typescript": "~5.8.3",
|
|
"typescript-eslint": "^8.39.1",
|
|
"vite": "^7.1.2"
|
|
}
|
|
}
|