0.3.1 • Published 3 years ago

@kienleholdings/tsconfigs v0.3.1

Weekly downloads
-
License
MIT
Repository
github
Last release
3 years ago

TSConfigs

A Collection of Kienle Holdings TypeScript Configs

Installation

With pnpm (recommended)

pnpm install typescript -D
pnpm install @kienleholdings/tsconfigs -D

With yarn

yarn add typescript -D
yarn add @kienleholdings/tsconfigs -D

With npm

npm install typescript -D
npm install @kienleholdings/tsconfigs -D

Usage

  1. Create a file named tsconfig.json
  2. Add the following:
{
  "extends": "@kienleholdings/tsconfigs/base.json",
}

Recommended Customization

Going off by the base config is a great start, but won't get you too far. We recommend setting the following:

A version 0.1.3 change marked esnext as a valid option for compilerOptions.module but left commonjs as a default for backwards compatibility. If you're running webpack, we recommend setting that for any case where you don't explicitly need commonjs modules