@mheob/tsconfig

2.0.0 • Public • Published

My personal TypeScript configurations

To make my configurations a bit easier I share my tsconfig.jsons.

Install

With NPM

npm install -D @mheob/tsconfig

With YARN

yarn add -D @mheob/tsconfig

With PNPM

pnpm add -D @mheob/tsconfig

Usage

tsconfig.json

Default (same as commonjs.json)

{
	"extends": "@mheob/tsconfig"
}

or

{
	"extends": "@mheob/tsconfig/commonjs.json"
}

You can of course extend or overwrite all settings.

{
	"extends": "@mheob/tsconfig",
	"compilerOptions": {
		"outDir": "dist"
	}
}

Specified configurations

Astro

{
	"extends": "@mheob/tsconfig/astro.json"
}

ESM

{
	"extends": "@mheob/tsconfig/esm.json"
}

Next.js

{
	"extends": "@mheob/tsconfig/nextjs.json"
}

React

{
	"extends": "@mheob/tsconfig/react.json"
}

Package Sidebar

Install

npm i @mheob/tsconfig

Weekly Downloads

7

Version

2.0.0

License

MIT

Unpacked Size

6.06 kB

Total Files

8

Last publish

Collaborators

  • mheob