53 lines
1.1 KiB
JSON
53 lines
1.1 KiB
JSON
{
|
|
"compilerOptions": {
|
|
"module": "nodenext",
|
|
"target": "esnext",
|
|
"noImplicitAny": false,
|
|
"outDir": "./dist",
|
|
"sourceMap": false,
|
|
"allowJs": true,
|
|
"newLine": "LF",
|
|
"baseUrl": "./",
|
|
"typeRoots": [
|
|
"node_modules/@types",
|
|
"src/@types"
|
|
],
|
|
"declaration": true,
|
|
"noEmit": false,
|
|
"allowImportingTsExtensions": true,
|
|
"emitDeclarationOnly": true,
|
|
"moduleResolution": "NodeNext",
|
|
"experimentalDecorators": true,
|
|
"emitDecoratorMetadata": true,
|
|
"esModuleInterop": true,
|
|
"paths": {
|
|
"@/*": [
|
|
"src/*"
|
|
],
|
|
"*": [
|
|
"types/*"
|
|
]
|
|
}
|
|
},
|
|
"include": [
|
|
"typings.d.ts",
|
|
"src/**/*.ts"
|
|
],
|
|
"exclude": [
|
|
"node_modules",
|
|
"dist",
|
|
"src/**/*.test.ts",
|
|
"webpack.config.cjs",
|
|
],
|
|
"ts-node": {
|
|
// Do not forget to `npm i -D tsconfig-paths`
|
|
"require": [
|
|
// "tsconfig-paths/register"
|
|
],
|
|
// "skipIgnore": true,
|
|
"ignore": [
|
|
// "(?:^|/)node_modules/",
|
|
// "(?:^|/)node_modules/(?!.*abearxiong)" //匹配不包含abearxiong的node_modules当中的字符串
|
|
]
|
|
}
|
|
} |