tsconfig.json 850 Bytes
Newer Older
ι™ˆεΈ…'s avatar
ι™ˆεΈ… committed
1 2 3 4
{
  "compilerOptions": {
    "outDir": "build/dist",
    "module": "esnext",
何乐's avatar
何乐 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,
何乐's avatar
何乐 committed
19
    "strict": true,
ι™ˆεΈ…'s avatar
ι™ˆεΈ… committed
20 21 22 23
    "paths": {
      "@/*": ["./src/*"]
    }
  },
24
  "include": ["./src", "config/defaultSettings.ts"],
ι™ˆεΈ…'s avatar
ι™ˆεΈ… committed
25 26 27 28 29 30 31 32 33 34 35 36
  "exclude": [
    "node_modules",
    "build",
    "scripts",
    "acceptance-tests",
    "webpack",
    "jest",
    "src/setupTests.ts",
    "tslint:latest",
    "tslint-config-prettier"
  ]
}