erp-transportistas-frontend-v2/package.json
Adrian Flores Cortes 0bc16b52bf [SPRINT-0] fix: Resolve all TypeScript compilation errors in frontend
- Add @types/node for vite.config.ts __dirname support
- Extend OrdenTransporte interface with alias properties
- Add missing enum states to OTStatusBadge
- Fix EventosList type references and property access
- Fix GeocercasList property names (activo -> activa)
- Fix useTrackingWebSocket NodeJS.Timeout type
- Remove unused imports across components

Build now passes: 191 modules transformed successfully

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-02-03 02:31:37 -06:00

57 lines
1.6 KiB
JSON

{
"name": "@erp-transportistas/frontend",
"version": "1.0.0",
"description": "Frontend SPA para ERP Transportistas - Vertical de transporte de carga y logistica",
"type": "module",
"scripts": {
"dev": "vite",
"build": "tsc -b && vite build",
"preview": "vite preview",
"lint": "eslint . --ext ts,tsx --report-unused-disable-directives --max-warnings 0",
"lint:fix": "eslint . --ext ts,tsx --fix",
"typecheck": "tsc --noEmit",
"test": "vitest",
"test:ui": "vitest --ui",
"test:cov": "vitest run --coverage"
},
"dependencies": {
"@hookform/resolvers": "^3.3.2",
"@tanstack/react-query": "^5.8.4",
"axios": "^1.7.7",
"clsx": "^2.0.0",
"date-fns": "^2.30.0",
"leaflet": "^1.9.4",
"lucide-react": "^0.460.0",
"react": "^18.3.1",
"react-dom": "^18.3.1",
"react-hook-form": "^7.48.2",
"react-leaflet": "^4.2.1",
"react-router-dom": "^6.28.0",
"zod": "^3.22.4",
"zustand": "^5.0.1"
},
"devDependencies": {
"@types/leaflet": "^1.9.8",
"@types/node": "^25.2.0",
"@types/react": "^18.2.43",
"@types/react-dom": "^18.2.17",
"@typescript-eslint/eslint-plugin": "^6.12.0",
"@typescript-eslint/parser": "^6.12.0",
"@vitejs/plugin-react": "^4.2.1",
"autoprefixer": "^10.4.16",
"eslint": "^8.54.0",
"eslint-plugin-react": "^7.33.2",
"eslint-plugin-react-hooks": "^4.6.0",
"postcss": "^8.4.32",
"tailwindcss": "^3.4.15",
"typescript": "^5.3.2",
"vite": "^5.0.8",
"vitest": "^1.0.4"
},
"engines": {
"node": ">=20.0.0"
},
"author": "ISEM",
"license": "PROPRIETARY"
}