1
0
mirror of https://gitlab.com/MoonTestUse1/AdministrationItDepartmens.git synced 2025-08-14 00:25:46 +02:00

Fix database

This commit is contained in:
MoonTestUse1
2025-01-07 06:51:46 +06:00
parent 21e4194909
commit 668ae80544
3 changed files with 45 additions and 24 deletions

View File

@@ -1,31 +1,39 @@
{
"name": "admin-portal",
"private": true,
"version": "0.0.0",
"type": "module",
"name": "employee-request-system-frontend",
"version": "1.0.0",
"description": "Frontend for Employee Request System",
"scripts": {
"dev": "vite",
"build": "vue-tsc --noEmit && vite build",
"preview": "vite preview"
"start": "react-scripts start",
"build": "react-scripts build",
"test": "echo \"No tests yet - this is a placeholder for future tests\" && exit 0",
"eject": "react-scripts eject"
},
"dependencies": {
"@vueuse/core": "^10.9.0",
"axios": "^1.6.2",
"chart.js": "^4.4.1",
"lucide-vue-next": "^0.344.0",
"pinia": "^2.1.7",
"vue": "^3.4.21",
"vue-router": "^4.3.0"
"@emotion/react": "^11.11.3",
"@emotion/styled": "^11.11.0",
"@mui/material": "^5.15.3",
"@mui/icons-material": "^5.15.3",
"axios": "^1.6.5",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"react-router-dom": "^6.21.1",
"react-scripts": "5.0.1"
},
"devDependencies": {
"@tailwindcss/forms": "^0.5.7",
"@types/node": "^20.17.11",
"@vitejs/plugin-vue": "^5.0.4",
"autoprefixer": "^10.4.18",
"postcss": "^8.4.35",
"tailwindcss": "^3.4.1",
"typescript": "^5.2.2",
"vite": "^5.1.4",
"vue-tsc": "^2.0.6"
"@testing-library/jest-dom": "^5.17.0",
"@testing-library/react": "^13.4.0",
"@testing-library/user-event": "^13.5.0"
},
"browserslist": {
"production": [
">0.2%",
"not dead",
"not op_mini all"
],
"development": [
"last 1 chrome version",
"last 1 firefox version",
"last 1 safari version"
]
}
}

6
frontend/src/App.test.js Normal file
View File

@@ -0,0 +1,6 @@
import { render, screen } from '@testing-library/react';
import App from './App';
test('renders without crashing', () => {
render(<App />);
});