0.0.1 • Published 5 years ago

@munny/tsconfig v0.0.1

Weekly downloads
-
License
SEE LICENSE IN LI...
Repository
github
Last release
5 years ago

@munny/tsconfig

The typescript configuration used on Munny packages

Installation

yarn

yarn add -D @munny/tsconfig

npm

npm i --save-dev @munny/tsconfig

Usage

In your tsconfig.json file

{
  "extends": "@munny/tsconfig",
  "compilerOptions": {
    // ... your compiler options
  }
  // [...] your other options
}

Build configuration

The base configuration extends the build configuration. The only differences are that the build configuration doesn't have an include key, so you need to provide one yourself and the base configuration allows to emit on error, the build one doesn't.

To use the build configuration, in your tsconfig.json file:

{
  "extends": "@munny/tsconfig/build",
  "compilerOptions": {
    // ... your compiler options
  }
  // [...] your other options
}

munnyjs/tsconfig © 2020+, Filipe Kiss Released under the BlueOak License. Authored and maintained by Filipe Kiss with help from contributors.

GitHub @filipekiss  ·  Twitter @filipekiss