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": "react",<% if (framework === 'react') {%>
|
19 | "jsxFactory": "React.createElement",<%}%><% if (framework === 'nerv') {%>
|
20 | "jsxFactory": "Nerv.createElement",<%}%>
|
21 | "allowJs": true,
|
22 | "resolveJsonModule": true,
|
23 | "typeRoots": [
|
24 | "node_modules/@types",
|
25 | "global.d.ts"
|
26 | ]
|
27 | },
|
28 | "exclude": [
|
29 | "node_modules",
|
30 | "dist"
|
31 | ],
|
32 | "compileOnSave": false
|
33 | }
|