lowcode-engine/tsconfig.json
2024-06-19 14:12:15 +08:00

50 lines
1.8 KiB
JSON

{
"compilerOptions": {
"lib": ["DOM", "ESNext", "DOM.Iterable"],
// Target latest version of ECMAScript.
"target": "esnext",
// Specify module code generation: 'none', 'commonjs', 'amd', 'system', 'umd', 'es2015', or 'ESNext'.
"module": "esnext",
// Search under node_modules for non-relative imports.
"moduleResolution": "Bundler",
// Enable strictest settings like strictNullChecks & noImplicitAny.
"strict": true,
"strictPropertyInitialization": false,
// Allow default imports from modules with no default export. This does not affect code emit, just typechecking.
"allowSyntheticDefaultImports": true,
// Enables emit interoperability between CommonJS and ES Modules via creation of namespace objects for all imports. Implies 'allowSyntheticDefaultImports'.
"esModuleInterop": true,
// Specify JSX code generation: 'preserve', 'react-native', or 'react'.
"jsx": "preserve",
// Import emit helpers (e.g. __extends, __rest, etc..) from tslib
"importHelpers": false,
// Enables experimental support for ES7 decorators.
"experimentalDecorators": true,
"emitDecoratorMetadata": true,
// Generates corresponding .map file.
"sourceMap": true,
// Disallow inconsistently-cased references to the same file.
"forceConsistentCasingInFileNames": true,
// Allow json import
"resolvePackageJsonExports": true,
// skip type checking of declaration files
"skipLibCheck": true,
"useDefineForClassFields": true,
"removeComments": false,
"baseUrl": ".",
"rootDir": ".",
// provide type friendly tips
"paths": {
"@alilc/lowcode-*": ["packages/*/src"]
},
"types": ["vite/client", "vitest/globals", "node"]
},
"include": [
"packages/global.d.ts",
"packages/*/src",
"packages/*/__tests__",
"playground/*/src",
"scripts/*"
]
}