1 | {
|
2 | "compilerOptions": {
|
3 | "target": "es2017",
|
4 | "module": "commonjs",
|
5 | "removeComments": false,
|
6 | "preserveConstEnums": true,
|
7 | "moduleResolution": "node",
|
8 | "experimentalDecorators": true,
|
9 | "noImplicitAny": false,
|
10 | "allowSyntheticDefaultImports": true,
|
11 | "outDir": "lib",
|
12 | "noUnusedLocals": true,
|
13 | "noUnusedParameters": true,
|
14 | "strictNullChecks": true,
|
15 | "sourceMap": true,
|
16 | "baseUrl": ".",
|
17 | "rootDir": ".",
|
18 | "jsx": "<%= ['vue', 'vue3'].includes(framework) ? 'preserve' : 'react-jsx' %>",<% if (framework === 'preact') {%>
|
19 | "skipLibCheck": true,<%}%><% if (framework === 'nerv') {%>
|
20 | "jsx": "react",
|
21 | "jsxFactory": "Nerv.createElement",<%}%>
|
22 | "allowJs": true,
|
23 | "resolveJsonModule": true,
|
24 | "typeRoots": [
|
25 | "node_modules/@types"
|
26 | ]
|
27 | },
|
28 | "include": ["./src", "global.d.ts"],
|
29 | "compileOnSave": false
|
30 | }
|