UNPKG

generator-effective

Version:

a opinionated and progressive generator to make package.json and thousands of configs effective

30 lines (29 loc) 781 B
{ "compilerOptions": { "target": "<%= target === 'Node.js' ? 'es2019' : 'es6' %>", "module": "commonjs", <%_ if (target === 'Node.js'){ -%> "lib": ["es2019"], "declaration": true, "outDir": "lib", <%_ } else { -%> "lib": ["es2019", "dom"], <%_ } -%> "sourceMap": true, "strict": true, "noUnusedLocals": true, "noImplicitAny": true, "skipLibCheck": true, "moduleResolution": "node", "resolveJsonModule": true, "allowUnreachableCode": false, "preserveWatchOutput": true, "types": ["node"], "esModuleInterop": true, "allowSyntheticDefaultImports": true, "experimentalDecorators": true, "emitDecoratorMetadata": true }<% if (target === 'Node.js'){ %>, "include": ["src"] <%_ } -%> }