UNPKG

build-a-npm

Version:

A tool to create and publish Node packages with automatic version bumping and GitHub integration.

23 lines (22 loc) 488 B
function generateTsConfig() { return JSON.stringify( { compilerOptions: { target: "es2016", module: "commonjs", rootDir: "./src", outDir: "./dist", esModuleInterop: true, forceConsistentCasingInFileNames: true, strict: true, skipLibCheck: true, declaration: true, }, include: ["src/**/*"], exclude: ["node_modules"], }, null, 2 ); } module.exports = { generateTsConfig };