You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
35 lines
771 B
35 lines
771 B
{
|
|
"compilerOptions": {
|
|
"outDir": "build/dist",
|
|
"module": "esnext",
|
|
"target": "esnext",
|
|
"lib": ["esnext", "dom"],
|
|
"sourceMap": true,
|
|
"baseUrl": ".",
|
|
"jsx": "react",
|
|
"allowSyntheticDefaultImports": true,
|
|
"moduleResolution": "node",
|
|
"forceConsistentCasingInFileNames": true,
|
|
"noImplicitReturns": true,
|
|
"suppressImplicitAnyIndexErrors": true,
|
|
"noUnusedLocals": true,
|
|
"allowJs": true,
|
|
"experimentalDecorators": true, // 对修饰器的实验支持
|
|
"strict": true,
|
|
"paths": {
|
|
"@/*": ["./src/*"]
|
|
}
|
|
},
|
|
"exclude": [
|
|
"node_modules",
|
|
"build",
|
|
"scripts",
|
|
"acceptance-tests",
|
|
"webpack",
|
|
"jest",
|
|
"src/setupTests.ts",
|
|
"tslint:latest",
|
|
"tslint-config-prettier"
|
|
]
|
|
}
|