@chance/tsconfig

2.1.0 • Public • Published

tsconfig

Shared TypeScript config for my projects

Install

$ npm install --save-dev @chance/tsconfig

Usage

tsconfig.json

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

Package Sidebar

Install

npm i @chance/tsconfig

Weekly Downloads

2

Version

2.1.0

License

MIT

Unpacked Size

4.17 kB

Total Files

5

Last publish

Collaborators

  • chancestrickland