0.0.2 • Published 1 year ago

@elricb/tsconfig v0.0.2

Weekly downloads
-
License
MIT
Repository
github
Last release
1 year ago

tsconfig

Shared TypeScript config for my projects

Install

npm install --save-dev @elricb/tsconfig

This config requires TypeScript 4.7 or later.

Usage

tsconfig.json

{
	"extends": "@elricb/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": "@elricb/tsconfig",
	"compilerOptions": {
		"outDir": "dist",
		"target": "ES2021"
	}
}