Skip to content

Commit

Permalink
Add minimal TypeScript configuration (#982)
Browse files Browse the repository at this point in the history
  • Loading branch information
JamieMagee authored Aug 15, 2023
1 parent 1e0ff50 commit 104d4d8
Show file tree
Hide file tree
Showing 3 changed files with 114 additions and 5 deletions.
101 changes: 97 additions & 4 deletions package-lock.json

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

6 changes: 5 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,9 @@
"winston-azure-application-insights": "^1.5.0"
},
"devDependencies": {
"@types/express": "4.17.17",
"@types/mocha": "8.2.3",
"@types/node": "18.15.11",
"chai": "^4.1.2",
"chai-as-promised": "^7.1.1",
"deep-equal-in-any-order": "^1.0.10",
Expand All @@ -79,6 +82,7 @@
"nodemon": "^2.0.3",
"nyc": "^15.0.0",
"proxyquire": "^2.0.1",
"sinon": "^5.0.0"
"sinon": "^5.0.0",
"typescript": "5.0.4"
}
}
12 changes: 12 additions & 0 deletions tsconfig.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
{
"compilerOptions": {
"lib": ["ES2022"],
"target": "ES2022",
"module": "commonjs",
"esModuleInterop": true,
"moduleResolution": "node",
"allowJs": true,
"checkJs": true
},
"include": ["**/*.js", "bin/www"]
}

0 comments on commit 104d4d8

Please sign in to comment.