{
  "compilerOptions": {
    "target": "es5", /* Specify ECMAScript target version: 'ES3' (default), 'ES5', 'ES2015', 'ES2016', 'ES2017','ES2018' or 'ESNEXT'. */
    "lib": ["es5", "es6", "dom"], /* Specify library files to be included in the compilation. */
    "module": "esnext", /* Specify module code generation: 'none', 'commonjs', 'amd', 'system', 'umd', 'es2015', or 'ESNext'. */
    "jsx": "react", /* Specify JSX code generation: 'preserve', 'react-native', or 'react'. */
    "sourceMap": true, /* Generates corresponding '.map' file. */
    "outDir": "./dist/", /* Redirect output structure to the directory. */
    "removeComments": true, /* Do not emit comments to output. */
    "noImplicitAny": true, /* Raise error on expressions and declarations with an implied 'any' type. */
    "allowSyntheticDefaultImports": true, /* Allow default imports from modules with no default export. This does not affect code emit, just typechecking. */
    "esModuleInterop": true, /* Enables emit interoperability between CommonJS and ES Modules via creation of namespace objects for all imports. Implies 'allowSyntheticDefaultImports'. */
    "moduleResolution": "node",
    "preserveConstEnums": true,
    "noUnusedLocals": false,
    "noUnusedParameters": false,
    "isolatedModules": false, // 如果设置为 true，那么会导致 npm run test 报错
    "allowJs": true, // 如果要使用现有的js文件的话，设置为 true
    "baseUrl": "src",
    "paths": {
      "@/*": ["*"],
      "@components/*": ["components/*"],
      "@views/*": ["views/*"],
      "@demos/*": ["demos/*"],
      "@utils/*": ["utils/*"],
      "assets/*": ["assets/*"]
    }
  },
  "include": [
    "./src/**/*",
    "./*.d.ts"
  ],
  "exclude": [
    "node_modules",
    "**/*.spec.ts",
    "build",
    "scripts",
    "acceptance-tests",
    "webpack",
    "jest",
    "dist",
    "src/setupTests.ts"
  ]
}