1.0.3 • Published 2 years ago

zch-tsconfig v1.0.3

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

tsconfig

Shared TypeScript config for my projects

Install

yarn add zch-tsconfig -D
// or
npm install --save-dev zch-tsconfig

This config requires TypeScript 4.7 or later.

Usage

tsconfig.json

{
	"extends": "zch-tsconfig",
	"compilerOptions": {
		"outDir": "dist"
	}
}

When you are targeting a higher version of Node.js, check the relevant ECMAScript version and add it as target:

{
	"extends": "zch-tsconfig",
	"compilerOptions": {
		"outDir": "dist",
		"target": "ES2021"
	}
}