Skip to content

Commit

Permalink
Add typescript pkg & tsconfig.json.
Browse files Browse the repository at this point in the history
  • Loading branch information
jgaehring committed Sep 30, 2021
1 parent 5052f9b commit 879616e
Show file tree
Hide file tree
Showing 3 changed files with 22 additions and 1 deletion.
6 changes: 6 additions & 0 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@
"eslint": "^5.16.0",
"eslint-config-airbnb-base": "^13.2.0",
"eslint-plugin-import": "^2.20.1",
"mocha": "^8.2.1"
"mocha": "^8.2.1",
"typescript": "^4.4.3"
}
}
14 changes: 14 additions & 0 deletions tsconfig.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
{
"compilerOptions": {
"lib": ["es2021", "DOM"],
"moduleResolution": "node",
"module": "esnext",
"resolveJsonModule": true,
"allowJs": true,
"checkJs": true,
"noEmit": true,
"strict": true
},
"include": ["src/**/*.js"],
"exclude": ["node_modules", "test/**/*"]
}

0 comments on commit 879616e

Please sign in to comment.