38 lines
1.2 KiB
JSON
38 lines
1.2 KiB
JSON
|
{
|
||
|
// This ensures typescript only does type checking and doesn't output js.
|
||
|
// "noEmit": true,
|
||
|
"compilerOptions": {
|
||
|
"module": "commonjs",
|
||
|
"allowSyntheticDefaultImports": true,
|
||
|
"noImplicitAny": true,
|
||
|
"sourceMap": true,
|
||
|
// "importHelpers": true,
|
||
|
"outDir": "dist",
|
||
|
"baseUrl": ".",
|
||
|
// Target latest version 'esnext' of ECMAScript or minimal 'es6'.
|
||
|
"target": "esnext",
|
||
|
// Search under node_modules for non-relative imports.
|
||
|
"moduleResolution": "node",
|
||
|
// Process & infer types from .js files.
|
||
|
"allowJs": true,
|
||
|
// // Don't emit; allow Babel to transform files.
|
||
|
// "noEmit": true,
|
||
|
// Enable strictest settings like strictNullChecks & noImplicitAny.
|
||
|
"strict": true,
|
||
|
// Disallow features that require cross-file information for emit.
|
||
|
"isolatedModules": true,
|
||
|
// Import non-ES modules as default imports.
|
||
|
"esModuleInterop": true,
|
||
|
// for sequelize-typescript: Enables experimental support for ES7 decorators. ,
|
||
|
"experimentalDecorators": true,
|
||
|
"strictPropertyInitialization": false,
|
||
|
|
||
|
"paths": {
|
||
|
"*": [
|
||
|
"node_modules/*"
|
||
|
]
|
||
|
},
|
||
|
},
|
||
|
"include": ["src/**/*.ts"],
|
||
|
"exclude": ["node_modules", "**/*.spec.ts", "dist", "test"]
|
||
|
}
|