@warungpintar/typescript-config

Warung Pintar's base Typescript config

Usage no npm install needed!

<script type="module">
  import warungpintarTypescriptConfig from 'https://cdn.skypack.dev/@warungpintar/typescript-config';
</script>

README

typescript-config

A collection of different base tsconfig.json to be extended from in your project.

This project aims to reduce per-project configuration as much as possible. With good defaults, we can focus on building, not configuration!

Installation

Using npm:

npm i -D @warungpintar/typescript-config

Using yarn:

yarn add --dev @warungpintar/typescript-config

Contributing

Try to optimize for the fewest specified options between the config specializations. For example, only app has noEmit: true, since the default value, false, is good for the lib config. Specifying it only in the app config means fewer overall entries!

We want to keep maintenance low by only specifying what is necessary. If the option's default value is good for every config, remove it from every config!