tsconfig.json 763 Bytes
Newer Older
陈帅's avatar
陈帅 committed
1 2 3 4
{
  "compilerOptions": {
    "outDir": "build/dist",
    "module": "esnext",
xiaohuoni's avatar
xiaohuoni committed
5 6
    "target": "esnext",
    "lib": ["esnext", "dom"],
陈帅's avatar
陈帅 committed
7 8 9 10 11
    "sourceMap": true,
    "baseUrl": ".",
    "jsx": "react",
    "allowSyntheticDefaultImports": true,
    "moduleResolution": "node",
12
    "rootDirs": ["/src", "/test", "/mock", "./typings"],
陈帅's avatar
陈帅 committed
13 14 15 16 17
    "forceConsistentCasingInFileNames": true,
    "noImplicitReturns": true,
    "suppressImplicitAnyIndexErrors": true,
    "noUnusedLocals": true,
    "allowJs": true,
陈帅's avatar
陈帅 committed
18
    "resolveJsonModule": true,
陈帅's avatar
陈帅 committed
19
    "experimentalDecorators": true,
xiaohuoni's avatar
xiaohuoni committed
20
    "strict": true,
陈帅's avatar
陈帅 committed
21
    "paths": {
xiaohuoni's avatar
xiaohuoni committed
22
      "@/*": ["./src/*"]
陈帅's avatar
陈帅 committed
23 24
    }
  },
陈帅's avatar
陈帅 committed
25
  "include": [".", "./typings.d"],
xiaohuoni's avatar
xiaohuoni committed
26
  "exclude": ["node_modules", "_scripts", "jest", "tslint:latest", "tslint-config-prettier"]
陈帅's avatar
陈帅 committed
27
}