@tsconfig/taro

1.0.5 • Public • Published

A base TSConfig for working with Taro.

Add the package to your "devDependencies":

npm install --save-dev @tsconfig/taro
yarn add --dev @tsconfig/taro

Add to your tsconfig.json:

"extends": "@tsconfig/taro/tsconfig.json"

The tsconfig.json:

{
  "$schema": "https://json.schemastore.org/tsconfig",
  "compileOnSave": false,
  "compilerOptions": {
    "target": "es2017",
    "module": "commonjs",
    "moduleResolution": "node",
    "allowJs": true,
    "allowSyntheticDefaultImports": true,
    "experimentalDecorators": true,
    "resolveJsonModule": true,
    "skipLibCheck": true,
    "strict": true,
    "noEmit": true,
    "jsx": "react-jsx"
  }
}

You can find the code here.

/@tsconfig/taro/

    Package Sidebar

    Install

    npm i @tsconfig/taro

    Weekly Downloads

    3

    Version

    1.0.5

    License

    MIT

    Unpacked Size

    2.58 kB

    Total Files

    4

    Last publish

    Collaborators

    • orta
    • typescript-deploys