add tsconfig

This commit is contained in:
Michael Fatemi 2021-04-10 11:13:01 -04:00
parent 0b21d1deb8
commit 26bfd49d72
3 changed files with 10 additions and 1 deletions

View File

@ -2,8 +2,10 @@
"name": "carpool-backend",
"version": "1.0.0",
"description": "",
"main": "index.js",
"main": "dist/index.js",
"scripts": {
"build": "tsc",
"start": "node dist/index.js",
"test": "echo \"Error: no test specified\" && exit 1"
},
"repository": {

0
src/index.ts Normal file
View File

7
tsconfig.json Normal file
View File

@ -0,0 +1,7 @@
{
"compilerOptions": {
"outDir": "dist/"
},
"include": ["src/"],
"exclude": ["node_modules/"],
}