tsconfig.json 826 Bytes
Newer Older
陈帅's avatar
陈帅 committed
1 2 3 4 5 6 7 8 9 10 11
{
  "compilerOptions": {
    "outDir": "build/dist",
    "module": "esnext",
    "target": "es2016",
    "lib": ["es6", "dom"],
    "sourceMap": true,
    "baseUrl": ".",
    "jsx": "react",
    "allowSyntheticDefaultImports": true,
    "moduleResolution": "node",
12
    "rootDirs": ["/src", "/test", "/mock", "./typings"],
陈帅's avatar
陈帅 committed
13 14 15 16 17 18 19
    "forceConsistentCasingInFileNames": true,
    "noImplicitReturns": true,
    "suppressImplicitAnyIndexErrors": true,
    "noUnusedLocals": true,
    "allowJs": true,
    "experimentalDecorators": true,
    "paths": {
20
      "@/*": ["./ant-design-pro/*/src/*"]
陈帅's avatar
陈帅 committed
21 22
    }
  },
23
  "include": ["./ant-design-pro"],
陈帅's avatar
陈帅 committed
24 25 26 27 28 29 30 31 32 33 34 35
  "exclude": [
    "node_modules",
    "build",
    "scripts",
    "acceptance-tests",
    "webpack",
    "jest",
    "src/setupTests.ts",
    "tslint:latest",
    "tslint-config-prettier"
  ]
}