Skip to content

Commit

Permalink
fix: add tsconfig.json Mustache template (#62)
Browse files Browse the repository at this point in the history
  • Loading branch information
viveknair committed Apr 18, 2023
1 parent a034236 commit 0632a9f
Showing 1 changed file with 26 additions and 0 deletions.
26 changes: 26 additions & 0 deletions templates/node/tsconfig.mustache
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
{
"compilerOptions": {
"declaration": true,
"target": "{{#supportsES6}}ES6{{/supportsES6}}{{^supportsES6}}ES5{{/supportsES6}}",
"module": "commonjs",
"noImplicitAny": true,
"outDir": "dist",
"rootDir": ".",
{{#supportsES6}}
"moduleResolution": "nodenext",
{{/supportsES6}}
{{^supportsES6}}
"lib": [
"es6",
"dom"
],
{{/supportsES6}}
"typeRoots": [
"node_modules/@types"
]
},
"exclude": [
"dist",
"node_modules"
]
}

0 comments on commit 0632a9f

Please sign in to comment.