Files
mitm-webserver/frontend/package.json
malmert ea9d79f671
All checks were successful
Build and Deploy MITM Webserver / build (push) Successful in 16s
refactor: migrate from MUI to Ant Design for layout and components
- Updated package.json to remove MUI dependencies and add Ant Design.
- Refactored App component to use Ant Design's Layout, Header, Footer, and Sidebar.
- Created new Footer, Header, and Sidebar components using Ant Design.
- Removed old Header component that used MUI.
- Updated Home component to use Ant Design's Typography and Button.
- Added global styles in index.less and theme styles in theme.less and layout.less.
- Removed MUI theme configuration and replaced it with Ant Design's theming.
2025-11-22 19:49:02 +01:00

42 lines
1.2 KiB
JSON

{
"name": "frontend",
"private": true,
"version": "0.0.0",
"type": "module",
"scripts": {
"start": "npm run dev-server",
"build": "vite build",
"lint": "eslint .",
"preview": "vite preview",
"dev-local": "cross-env VITE_BACKEND_URL=http://localhost:8000/api vite --mode development",
"dev-server": "cross-env VITE_BACKEND_URL=http://mitm.lan/api vite --mode development"
},
"dependencies": {
"@ant-design/icons": "^6.1.0",
"antd": "^6.0.0",
"react": "^19.1.1",
"react-dom": "^19.1.1",
"react-router-dom": "^7.9.4"
},
"devDependencies": {
"@eslint/js": "^9.36.0",
"@types/node": "^24.9.1",
"@types/react": "^19.2.2",
"@types/react-dom": "^19.2.2",
"@types/react-router-dom": "^5.3.3",
"@vitejs/plugin-react": "^5.0.4",
"cross-env": "^10.1.0",
"eslint": "^9.39.1",
"eslint-config-prettier": "^10.1.8",
"eslint-plugin-import": "^2.32.0",
"eslint-plugin-react-hooks": "^5.2.0",
"eslint-plugin-react-refresh": "^0.4.22",
"globals": "^16.4.0",
"less": "^4.4.2",
"less-loader": "^12.3.0",
"prettier": "^3.6.2",
"typescript": "^5.9.3",
"vite": "^7.1.12"
}
}