npm.io
1.0.0 • Published 2 years ago

@keinsell/tsconfig

Licence
MIT
Version
1.0.0
Deps
0
Size
2 kB
Vulns
0
Weekly
0

tsconfig

TypeScript config

Install

npm install --save-dev @keinsell/tsconfig

This config requires TypeScript 5 or later.

Usage

tsconfig.json

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