add route generation scripts

This commit is contained in:
tw-blue
2025-11-29 17:44:12 +01:00
parent da782c89e0
commit 942a423823
2 changed files with 5 additions and 2 deletions
+3 -1
View File
@@ -3,7 +3,9 @@
"version": "1.0.0",
"description": "",
"private": true,
"scripts": {},
"scripts": {
"generate": "tsoa spec-and-routes"
},
"author": "",
"license": "UNLICENSED",
"packageManager": "pnpm@10.20.0",
+2 -1
View File
@@ -6,7 +6,8 @@
"start": "ng serve",
"build": "ng build",
"watch": "ng build --watch --configuration development",
"test": "ng test"
"test": "ng test",
"generate": "oazapfts --optimistic --useEnumType ./src/app/generated-api/swagger.json ./src/app/generated-api/api.ts"
},
"prettier": {
"printWidth": 100,