- Updated docker-compose.yml to include new media-api and mediamtx services for improved video handling. - Modified package.json and package-lock.json to add TypeScript types for React and React DOM. - Refactored video-related components (VideoCard, VideoList, VideoModal) for better user experience and responsiveness. - Improved FiltersBar and Pagination components with enhanced styling and functionality. - Added loading and error states in VideoList for better user feedback during data fetching. - Enhanced CSS styles for a more polished look across the application.
30 lines
824 B
JSON
30 lines
824 B
JSON
{
|
|
"name": "video-remote",
|
|
"private": true,
|
|
"version": "0.0.1",
|
|
"type": "module",
|
|
"scripts": {
|
|
"dev": "vite",
|
|
"build": "vite build",
|
|
"build:watch": "vite build --watch",
|
|
"serve:dist": "serve -s dist -l 3001",
|
|
"preview": "vite preview --port 3001",
|
|
"dev:watch": "npm run build && (npm run build:watch &) && sleep 1 && npx http-server dist -p 3001 --cors -c-1"
|
|
},
|
|
"dependencies": {
|
|
"react": "^19.1.0",
|
|
"react-dom": "^19.1.0"
|
|
},
|
|
"devDependencies": {
|
|
"@originjs/vite-plugin-federation": "^1.3.3",
|
|
"@tailwindcss/vite": "^4.1.11",
|
|
"@types/react": "^19.2.2",
|
|
"@types/react-dom": "^19.2.2",
|
|
"@vitejs/plugin-react": "^4.6.0",
|
|
"http-server": "^14.1.1",
|
|
"serve": "^14.2.3",
|
|
"tailwindcss": "^4.1.11",
|
|
"typescript": "~5.8.3",
|
|
"vite": "^7.0.4"
|
|
}
|
|
} |