Nancy's Preferred Machete

    @tsconfig/deno

    1.0.7 • Public • Published

    A base TSConfig for working with Deno.

    Add the package to your "devDependencies":

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

    Add to your tsconfig.json:

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

    The tsconfig.json:

    {
      // This is based on https://deno.land/manual/getting_started/typescript#custom-typescript-compiler-options
      // then the defaults are removed.
    
      "$schema": "https://json.schemastore.org/tsconfig",
      "display": "Deno",
    
      "compilerOptions": {
        "jsx": "react",
        "lib": [],
        "resolveJsonModule": true,
        "strict": true
      }
    }

    You can find the code here.

    Keywords

    Install

    npm i @tsconfig/deno

    DownloadsWeekly Downloads

    26

    Version

    1.0.7

    License

    MIT

    Unpacked Size

    2.44 kB

    Total Files

    4

    Last publish

    Collaborators

    • orta
    • typescript-deploys