This template is modified from the original one, to handle multiple status-code handling of response. Don't ask me how they work, I don't quite understand them in depth...
25 lines
477 B
Text
25 lines
477 B
Text
{
|
|
"compilerOptions": {
|
|
"declaration": true,
|
|
"target": "{{#supportsES6}}es6{{/supportsES6}}{{^supportsES6}}es5{{/supportsES6}}",
|
|
{{#sagasAndRecords}}
|
|
"strict": true,
|
|
{{/sagasAndRecords}}
|
|
"module": "commonjs",
|
|
"moduleResolution": "node",
|
|
"outDir": "dist",
|
|
{{^supportsES6}}
|
|
"lib": [
|
|
"es6",
|
|
"dom"
|
|
],
|
|
{{/supportsES6}}
|
|
"typeRoots": [
|
|
"node_modules/@types"
|
|
]
|
|
},
|
|
"exclude": [
|
|
"dist",
|
|
"node_modules"
|
|
]
|
|
}
|