@kienleholdings/base-tsconfig
v0.1.8
Published
Kienle Holdings Base TSConfig
Downloads
2
Readme
Base TSConfig
Kienle Holdings Base TSConfig
Installation
With pnpm (recommended)
pnpm install typescript -D
pnpm install @kienleholdings/base-tsconfig -D
With yarn
yarn add typescript -D
yarn add @kienleholdings/base-tsconfig -D
With npm
npm install typescript -D
npm install @kienleholdings/base-tsconfig -D
Usage
- Create a file named
tsconfig.json
- Add the following:
{
"extends": "@kienleholdings/base-tsconfig",
}
Recommended Customization
Going off by the base config is a great start, but won't get you too far. We recommend setting the following:
compilerOptions.baseUrl
compilerOptions.jsx
compilerOptions.lib
compilerOptions.outDir
compilerOptions.rootDir
compilerOptions.sourceRoot
compilerOptions.target
compilerOptions.types
exclude
files
include
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 explicitely need commonjs modules