chore: reorganize files and add some boilerplate

This commit is contained in:
Cozma Rares
2023-07-24 12:06:42 +03:00
parent 7d6dc492c3
commit 76032237d4
12 changed files with 591 additions and 244 deletions
+32
View File
@@ -0,0 +1,32 @@
{
"name": "server",
"version": "1.0.0",
"description": "",
"main": "index.js",
"scripts": {
"start": "node server/dist/server.js",
"server": "nodemon server/src/server.ts",
"client": "npm run dev --prefix client",
"dev": "concurrently \"npm run server\" \"npm run client\"",
"build:server": "tsc -p .",
"build:client":"npm run build --prefix client",
"build": "concurrently \"npm run build:server\" \"npm run build:client\"",
"test": "vitest run"
},
"keywords": [],
"author": "",
"license": "ISC",
"dependencies": {
"dotenv": "^16.3.1",
"express": "^4.18.2"
},
"devDependencies": {
"@types/express": "^4.17.17",
"@types/node": "^18.15.11",
"concurrently": "^8.2.0",
"nodemon": "^2.0.22",
"ts-node": "^10.9.1",
"typescript": "^5.0.3",
"vitest": "^0.29.8"
}
}