@sindresorhus/tsconfig

5.0.0 • Public • Published

tsconfig

Shared TypeScript config for my projects

Install

npm install --save-dev @sindresorhus/tsconfig

This config requires TypeScript 5 or later.

Usage

tsconfig.json

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

Package Sidebar

Install

npm i @sindresorhus/tsconfig

Weekly Downloads

4,644

Version

5.0.0

License

MIT

Unpacked Size

3.29 kB

Total Files

4

Last publish

Collaborators

  • sindresorhus