add typescript support

This commit is contained in:
Maurits Lourens 2022-01-19 23:44:17 +01:00
parent 39a5f297d2
commit 580727c923
4 changed files with 675 additions and 20 deletions

View File

@ -1,3 +1,4 @@
node_modules/
.env
watchtower-hook.json
dist/

View File

@ -62,6 +62,7 @@
"nodemon": "^2.0.7",
"pouchdb-adapter-memory": "^7.2.2",
"supertest": "^6.1.3",
"typescript": "^4.5.4",
"update-dotenv": "^1.1.1"
},
"jest": {

View File

@ -0,0 +1,23 @@
{
"compilerOptions": {
"target": "es6",
"module": "commonjs",
"lib": ["es2019"],
"allowJs": true,
"outDir": "dist",
"strict": true,
"noImplicitAny": true,
"esModuleInterop": true,
"resolveJsonModule": true,
"incremental": true
},
"include": [
"./src/**/*"
],
"exclude": [
"node_modules",
"**/*.json",
"**/*.spec.ts",
"**/*.spec.js"
]
}

File diff suppressed because it is too large Load Diff