49 lines
1.1 KiB
JSON
49 lines
1.1 KiB
JSON
{
|
|
"extends": "./tsconfig.paths.json",
|
|
"compilerOptions": {
|
|
"jsx": "react-jsx",
|
|
"module": "commonjs",
|
|
"target": "es5",
|
|
"allowJs": true,
|
|
"allowSyntheticDefaultImports": true,
|
|
"esModuleInterop": true,
|
|
"experimentalDecorators": true,
|
|
"skipLibCheck": true,
|
|
"strict": true,
|
|
"importHelpers": true,
|
|
"lib": [
|
|
"dom",
|
|
"dom.iterable",
|
|
"esnext"
|
|
],
|
|
"plugins": [
|
|
{
|
|
"name": "typescript-plugin-css-modules",
|
|
},
|
|
],
|
|
//"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
|
|
},
|
|
"include": [
|
|
"./src/**/*.js",
|
|
"./src/**/*.ts",
|
|
"./src/**/*.tsx",
|
|
"./web/src/**/*.ts",
|
|
"./web/src/**/*.tsx",
|
|
"./wechatMp/src/**/*.js",
|
|
"./wechatMp/src/**/*.ts",
|
|
"./typings/*.d.ts"
|
|
],
|
|
"exclude": [
|
|
"node_modules",
|
|
"**/*.spec.ts",
|
|
"test",
|
|
"scripts",
|
|
"lib"
|
|
]
|
|
} |