refactor: convert project to typescript

This commit is contained in:
Jeroen de Bruijn 2020-05-03 18:25:44 +02:00
parent 47a19ef007
commit f13bd58e77
No known key found for this signature in database
GPG key ID: 3A2677A1DF38FF9F
12 changed files with 113 additions and 34 deletions

14
tsconfig.json Normal file
View file

@ -0,0 +1,14 @@
{
"compilerOptions": {
"target": "es2020",
"module": "commonjs",
"moduleResolution": "node",
"declaration": true,
"resolveJsonModule": true,
"esModuleInterop": true,
"allowSyntheticDefaultImports": true,
"outDir": "dist"
},
"include": ["src/**/*.ts", "bin/**/*.ts"],
"exclude": ["node_modules", "**/*.test.ts"]
}