setup backend project structure

This commit is contained in:
Bilal Catic
2020-02-14 07:53:18 +01:00
parent 51c2dfd824
commit 7fdda1b32e
10 changed files with 693 additions and 1 deletions

23
backend/package.json Normal file
View File

@@ -0,0 +1,23 @@
{
"name": "backend",
"version": "1.0.0",
"main": "dist/index.js",
"scripts": {
"prebuild": "tslint -c tslint.json -p tsconfig.json --fix",
"build": "tsc",
"prestart": "npm run build",
"start": "node .",
"test": "echo \"Error: no test specified\" && exit 1"
},
"dependencies": {
"dotenv": "^8.2.0",
"express": "^4.17.1"
},
"devDependencies": {
"@types/dotenv": "^8.2.0",
"@types/express": "^4.17.2",
"@types/node": "^13.7.1",
"tslint": "^6.0.0",
"typescript": "^3.7.5"
}
}