tsconfig.json 717 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 18
    "forceConsistentCasingInFileNames": true,
    "noImplicitReturns": true,
    "suppressImplicitAnyIndexErrors": true,
    "noUnusedLocals": true,
    "allowJs": true,
    "experimentalDecorators": true,
xiaohuoni's avatar
xiaohuoni committed
19
    "strict": true,
陈帅's avatar
陈帅 committed
20
    "paths": {
xiaohuoni's avatar
xiaohuoni committed
21
      "@/*": ["./src/*"]
陈帅's avatar
陈帅 committed
22 23
    }
  },
xiaohuoni's avatar
xiaohuoni committed
24
  "include": ["."],
xiaohuoni's avatar
xiaohuoni committed
25
  "exclude": ["node_modules", "_scripts", "jest", "tslint:latest", "tslint-config-prettier"]
陈帅's avatar
陈帅 committed
26
}