js-mvc-app
Version:
A CLI tool to scaffold complete Node.js MVC projects with TypeScript, just like Laravel
36 lines • 1.19 kB
JavaScript
Object.defineProperty(exports, "__esModule", { value: true });
exports.getTsConfig = getTsConfig;
function getTsConfig() {
const tsConfig = {
compilerOptions: {
target: 'ES2020',
module: 'commonjs',
lib: ['ES2020'],
outDir: './dist',
rootDir: './src',
strict: true,
esModuleInterop: true,
skipLibCheck: true,
forceConsistentCasingInFileNames: true,
resolveJsonModule: true,
declaration: false,
removeComments: true,
emitDecoratorMetadata: true,
experimentalDecorators: true,
allowSyntheticDefaultImports: true,
sourceMap: true,
incremental: true,
noImplicitAny: true,
noImplicitReturns: true,
noImplicitThis: true,
noUnusedLocals: false,
noUnusedParameters: false,
exactOptionalPropertyTypes: false
},
include: ['src/**/*'],
exclude: ['node_modules', 'dist', 'tests']
};
return JSON.stringify(tsConfig, null, 2);
}
//# sourceMappingURL=tsconfig.js.map
;