amis2/tsconfig.json
liaoxuezhi d6461ced11
chore: 修复 ts 报错,并加入 pr 检测 (#6785)
* chore: 修复 ts 报错,并加入 pr 检测

* 把类型检测放在前面

* 调整一下顺序

* 类型调整

* 设置 build 编译顺序

* 设置 build 编译顺序
2023-05-05 17:13:06 +08:00

56 lines
1.6 KiB
JSON

{
"compilerOptions": {
"outDir": "lib",
"rootDir": "./",
"module": "commonjs",
"target": "es5",
"lib": ["ES6", "DOM", "ES2015", "ES2021"],
"jsx": "react",
"moduleResolution": "node",
"importHelpers": true,
"esModuleInterop": true,
"allowSyntheticDefaultImports": true,
"sourceRoot": "",
"noImplicitReturns": true,
"noImplicitThis": true,
"noImplicitAny": true,
"strictNullChecks": true,
"experimentalDecorators": true,
"emitDecoratorMetadata": true,
"skipLibCheck": true,
"downlevelIteration": true,
"composite": true,
"allowJs": true,
"baseUrl": "./",
"paths": {
"amis-core": ["./packages/amis-core/src/index.tsx"],
"amis-formula": ["./packages/amis-formula/src/index.ts"],
"amis-ui": ["./packages/amis-ui/src/index.tsx"],
"amis": ["./packages/amis/src/index.tsx"],
"ooxml-viewer": ["./packages/ooxml-viewer/src/index.ts"],
"amis-editor-core": ["./packages/amis-editor-core/src/index.ts"],
"amis-editor": ["./packages/amis-editor/src/index.tsx"]
}
},
"watchOptions": {
"watchFile": "useFsEvents",
"watchDirectory": "useFsEvents",
"fallbackPolling": "dynamicPriority",
"synchronousWatchDirectory": true,
"excludeDirectories": ["**/node_modules"]
},
"types": ["typePatches"],
"references": [],
"include": [
"**/*.ts",
"**/*.tsx",
"**/*.jsx",
"scripts/fis3plugin.ts",
"scripts/markdownPlugin.ts",
"scripts/mockApiPlugin.ts",
"packages/amis-ui/src/custom.d.ts",
"examples/polyfills/cloest.js",
"examples/polyfills/classList.js"
]
}