initial package setup + tsconfig

ref #1
This commit is contained in:
Philipp Dormann 2020-11-24 18:38:54 +01:00
parent ba5a4cb2f2
commit a4656e4037
2 changed files with 32 additions and 0 deletions

22
package.json Normal file
View File

@ -0,0 +1,22 @@
{
"name": "@lfk/backend",
"version": "1.0.0",
"main": "src/app.ts",
"repository": "https://git.odit.services/lfk/backend",
"author": "Philipp Dormann <philipp.dormann1@gmail.com>",
"license": "MIT",
"dependencies": {
"express": "^4.17.1"
},
"devDependencies": {
"@types/express": "^4.17.9",
"@types/node": "^14.14.9",
"dotenv-safe": "^8.2.0",
"nodemon": "^2.0.6",
"ts-node": "^9.0.0",
"typescript": "^4.1.2"
},
"scripts": {
"dev": "nodemon src/app.ts"
}
}

10
tsconfig.json Normal file
View File

@ -0,0 +1,10 @@
{
"compilerOptions": {
"target": "es6",
"module": "commonjs",
"rootDir": "./src",
"outDir": "./build",
"esModuleInterop": true,
"strict": true
}
}