rubiin / tsconfig

Shareable tsconfig for my projects

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

tsconfig

Shared TypeScript config for my projects

Install

npm install --save-dev @rubiin/tsconfig

This config requires TypeScript 5 or later.

Usage

tsconfig.json

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

About

Shareable tsconfig for my projects

License:MIT License