added script to generate open api scheme automatically - execute with npm run watch:openapi

This commit is contained in:
GotthardG
2024-11-08 11:28:12 +01:00
parent 501d09e6aa
commit 1fa61f0e78
5 changed files with 649 additions and 96 deletions

View File

@@ -8,7 +8,7 @@
"build": "node_modules/.bin/tsc -b && vite build",
"lint": "node_modules/.bin/eslint .",
"preview": "node_modules/.bin/vite preview",
"fetch:types": "node fetch-openapi.js"
"watch:openapi": "node fetch-openapi.js"
},
"dependencies": {
"@aldabil/react-scheduler": "^2.9.5",
@@ -24,6 +24,7 @@
"@mui/icons-material": "^6.1.5",
"@mui/material": "^6.1.5",
"axios": "^1.7.7",
"chokidar": "^4.0.1",
"dayjs": "^1.11.13",
"openapi-typescript-codegen": "^0.29.0",
"react": "^18.3.1",
@@ -31,7 +32,8 @@
"react-dom": "^18.3.1",
"react-qr-code": "^2.0.15",
"react-router-dom": "^6.27.0",
"react-scheduler": "^0.1.0"
"react-scheduler": "^0.1.0",
"rimraf": "^5.0.10"
},
"devDependencies": {
"@eslint/js": "^9.11.1",