45 lines
1.0 KiB
JSON
45 lines
1.0 KiB
JSON
{
|
|
"extends": "./tsconfig.paths.json",
|
|
"compilerOptions": {
|
|
"module": "ESNext",
|
|
"target": "ESNext",
|
|
"allowJs": true,
|
|
"allowSyntheticDefaultImports": true,
|
|
"esModuleInterop": true,
|
|
"experimentalDecorators": true,
|
|
"strict": true,
|
|
"downlevelIteration": true,
|
|
"importHelpers": true,
|
|
"moduleResolution": "Node",
|
|
"lib": [
|
|
"dom",
|
|
"dom.iterable",
|
|
"esnext"
|
|
],
|
|
// "outDir": "lib", /* Redirect output structure to the directory. */
|
|
// "rootDir": "src", /* Specify the root directory of input files. Use to control the output directory structure with --outDir. */
|
|
"types": [
|
|
"node",
|
|
"wechat-miniprogram"
|
|
],
|
|
"resolveJsonModule": true,
|
|
"jsx": "react"
|
|
},
|
|
"include": [
|
|
"./src/**/*.js",
|
|
"./src/**/*.ts",
|
|
"./wechatMp/src/**/*.js",
|
|
"./wechatMp/src/**/*.ts",
|
|
"./typings/*.d.ts"
|
|
],
|
|
"exclude": [
|
|
"node_modules",
|
|
"scripts",
|
|
"test",
|
|
"**/*.spec.ts",
|
|
"**/*.test.ts",
|
|
"**/*.test.tsx",
|
|
"./web",
|
|
"./native"
|
|
]
|
|
} |