{
  "compilerOptions": {
    "strict": true,
    "allowSyntheticDefaultImports": true,
    "allowUnreachableCode": true,
    "declaration": true,
    "downlevelIteration": true,
    "esModuleInterop": true,
    "target": "es5",
    "module": "commonjs",
    "moduleResolution": "node",
    "importHelpers": true,
    "emitDecoratorMetadata": true,
    "experimentalDecorators": true,
    "sourceMap": true,
    "noUnusedLocals": true,
    "lib": [
      "es2015",
      "dom"
    ],
    "jsx": "react",
    "outDir": "dist",
    "typeRoots": [
      "./types",
      "./node_modules/@types"
    ],
    "rootDir": "./src",
    // https://github.com/microsoft/TypeScript/issues/31869#issuecomment-501736887
    // 设置一个不存在的 baseUrl，然后给 path 加上 ../ 跳过不存在的 baseUrl，从项目根目录读取
    "baseUrl": "\u0000",
    "paths": {
      "react-icecream": ["../src"],
      "react-icecream/icons": ["../src/icons"],
      "react-icecream/icons/products": ["../src/icons/products"],
      "react-icecream/form-x": ["../src/form-x"]
    }
  },
  "include": [
    "src/**/*",
    "types/**/*"
  ],
  "exclude": [
    "node_modules/**"
  ]
}
