@tstv/tsconfig-common

3.4.1 • Public • Published

Common TSConfig

Shareable TypeScript compiler configurations. Inspired from tsconfig/bases.

Usage

When this package is installed, you can reference its exported TypeScript configs in the following way:

Basic Config

tsconfig.json

{
  "compilerOptions": {
    "outDir": "dist",
    "rootDir": "src"
  },
  "extends": "@tstv/tsconfig-common/tsconfig.json"
}

React Config

tsconfig.json

{
  "compilerOptions": {
    "outDir": "dist",
    "rootDir": "src"
  },
  "extends": "@tstv/tsconfig-common/tsconfig-react.json"
}

Alternatives

/@tstv/tsconfig-common/

    Package Sidebar

    Install

    npm i @tstv/tsconfig-common

    Weekly Downloads

    2,104

    Version

    3.4.1

    License

    MIT

    Unpacked Size

    4.42 kB

    Total Files

    6

    Last publish

    Collaborators

    • bennycode