@olliecaine/tsconfig

1.0.11 • Public • Published

@olliecaine/tsconfig

Shared tsconfig.json for frontend projects

Install

npm install --save-dev @olliecaine/tsconfig

This config requires TypeScript 4 or later.

Usage

tsconfig.json

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

Dependencies (1)

Dev Dependencies (0)

    Package Sidebar

    Install

    npm i @olliecaine/tsconfig

    Weekly Downloads

    13

    Version

    1.0.11

    License

    MIT

    Unpacked Size

    2.87 kB

    Total Files

    3

    Last publish

    Collaborators

    • olliecaine