Browse Source

add typescript support

pull/4116/head
Maurits Lourens 5 years ago
parent
commit
580727c923
  1. 3
      packages/worker/.gitignore
  2. 1
      packages/worker/package.json
  3. 23
      packages/worker/tsconfig.json
  4. 668
      packages/worker/yarn.lock

3
packages/worker/.gitignore

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

1
packages/worker/package.json

@ -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": {

23
packages/worker/tsconfig.json

@ -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"
]
}

668
packages/worker/yarn.lock

File diff suppressed because it is too large
Loading…
Cancel
Save