Added: Beer API, Docs API and tests for both, fixed build

This commit is contained in:
2024-05-03 01:46:23 +02:00
parent ef4cabff78
commit 44dbf74f1c
10 changed files with 436 additions and 2 deletions

View File

@@ -10,6 +10,7 @@
"start:dev": "tsx watch src/server.ts",
"start:prod": "node dist/server.js",
"tsc": "tsc -p .",
"docs": "DOCS_GEN=true npx ts-node ./src/server.ts",
"clean": "rimraf dist",
"copy-assets": "ts-node src/utils/copy_assets",
"build": "npm-run-all clean tsc copy-assets",
@@ -29,6 +30,7 @@
"jsonwebtoken": "^9.0.2",
"mongoose": "^8.3.3",
"morgan": "^1.10.0",
"multer": "^1.4.5-lts.1",
"pad": "^3.2.0",
"path": "^0.12.7",
"yup": "^1.4.0",
@@ -46,6 +48,7 @@
"@types/jsonwebtoken": "^9.0.6",
"@types/mocha": "^9.0.0",
"@types/morgan": "^1.9.9",
"@types/multer": "^1.4.11",
"@types/shelljs": "^0.8.11",
"@types/supertest": "^6.0.2",
"@typescript-eslint/eslint-plugin": "^5.5.0",