41 lines
1.3 KiB
JSON
41 lines
1.3 KiB
JSON
{
|
|
"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'. */
|
|
"lib": [
|
|
"es5",
|
|
"es6",
|
|
"ES2016",
|
|
"dom"
|
|
],
|
|
"moduleResolution": "node",
|
|
"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/**/*"
|
|
]
|
|
} |