Added basics for typeorm

This commit is contained in:
Nicolai Ort 2020-11-04 20:29:25 +01:00
parent fad68e8681
commit 2803e52cfd
3 changed files with 41 additions and 2 deletions

2
.gitignore vendored
View File

@ -126,4 +126,4 @@ dist
.yarn/build-state.yml
.yarn/install-state.gz
.pnp.*
yarn.lock

View File

@ -15,5 +15,8 @@
"crm"
],
"author": "ODIT.Services",
"license": "MIT"
"license": "MIT",
"dependencies": {
"typeorm": "^0.2.29"
}
}

36
tsconfig.json Normal file
View File

@ -0,0 +1,36 @@
{
"compilerOptions": {
"lib": ["es5", "es6"],
"outDir": "build/compiled",
"allowSyntheticDefaultImports": true,
"esModuleInterop": true,
"target": "es5",
"module": "commonjs",
"moduleResolution": "node",
"importHelpers": true,
"emitDecoratorMetadata": true,
"experimentalDecorators": true,
"sourceMap": true,
"noImplicitAny": true,
"declaration": true,
"noFallthroughCasesInSwitch": true,
"noImplicitReturns": true,
"stripInternal": true,
"pretty": true,
"strictNullChecks": true,
"noUnusedLocals": true,
"downlevelIteration": true
},
"include": [
"sample",
"src",
"test",
"models"
],
"exclude": [
"tmp",
"temp",
"build",
"node_modules"
]
}