mirror of
https://github.com/zhigang1992/react.git
synced 2026-06-12 17:08:50 +08:00
* fix(types): replace path aliases in type files * chore(lint): upgrade eslint and optimize code style * chore: fix type error for context handler * test: update snapshots * fix: use ttsc to identify aliases in type paths
47 lines
988 B
JSON
47 lines
988 B
JSON
{
|
|
"compilerOptions": {
|
|
"baseUrl": "../",
|
|
"outDir": "../dist",
|
|
"paths": {
|
|
"*": ["*"],
|
|
"geist-ui": ["components/index.tsx"],
|
|
"components/*": [
|
|
"components/*"
|
|
]
|
|
},
|
|
"declaration": true,
|
|
"emitDeclarationOnly": true,
|
|
"strictNullChecks": true,
|
|
"moduleResolution": "node",
|
|
"esModuleInterop": true,
|
|
"experimentalDecorators": true,
|
|
"jsx": "preserve",
|
|
"noUnusedParameters": true,
|
|
"noUnusedLocals": true,
|
|
"noImplicitAny": true,
|
|
"target": "es6",
|
|
"lib": [
|
|
"dom",
|
|
"es2017"
|
|
],
|
|
"skipLibCheck": true,
|
|
"allowJs": true,
|
|
"strict": false,
|
|
"forceConsistentCasingInFileNames": true,
|
|
"module": "esnext",
|
|
"resolveJsonModule": true,
|
|
"isolatedModules": true,
|
|
"plugins": [
|
|
{ "transform": "typescript-transform-paths", "afterDeclarations": true }
|
|
]
|
|
},
|
|
"files": [
|
|
"../components/index.ts"
|
|
],
|
|
"exclude": [
|
|
"node_modules",
|
|
"lib",
|
|
"es"
|
|
]
|
|
}
|