kdayun-compnent-develop/kdayun-component-demo/tsconfig.json

41 lines
1.3 KiB
JSON
Raw Normal View History

2022-02-19 20:37:32 +08:00
{
"compilerOptions": {
"target": "ES2019", /* Specify ECMAScript target version: 'ES3' (default), 'ES5', 'ES2015', 'ES2016', 'ES2017', 'ES2018', 'ES2019' or 'ESNEXT'. */
"module": "es2020", /* Specify module code generation: 'none', 'commonjs', 'amd', 'system', 'umd', 'es2015', or 'ESNext'. */
2022-02-19 20:37:32 +08:00
"lib": [
"es5",
"es6",
"ES2016",
"dom"
],
"moduleResolution": "node",
2022-02-19 20:37:32 +08:00
"allowJs": true, /* Allow javascript files to be compiled. */
"declaration": true, /* Generates corresponding '.d.ts' file. */
"sourceMap": true, /* Generates corresponding '.map' file. */
//"strict": true, /* Enable all strict type-checking options. */
"esModuleInterop": true,
"typeRoots": [
"node_modules/@types"
],
"experimentalDecorators": true, /* Enables experimental support for ES7 decorators. */
"emitDecoratorMetadata": true, /* Enables experimental support for emitting type metadata for decorators. */
"forceConsistentCasingInFileNames": true, /* Disallow inconsistently-cased references to the same file. */
"outDir": "./dist",
"rootDir": "./src",
"strictBindCallApply": true,
"resolveJsonModule": true,
"types": [
"jquery",
"tslib",
"lodash",
"layui",
"ztree"
],
},
"exclude": [
"node_modules/*"
],
"include": [
"./src/**/*"
2022-02-19 20:37:32 +08:00
]
}