tsconfig.json 741 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": ["."],
陈帅's avatar
陈帅 committed
25 26
  "exclude": [
    "node_modules",
xiaohuoni's avatar
xiaohuoni committed
27
    "_scripts",
陈帅's avatar
陈帅 committed
28 29 30 31 32
    "jest",
    "tslint:latest",
    "tslint-config-prettier"
  ]
}