1. @sindresorhus/tsconfig
Shared TypeScript config for my projects
@sindresorhus/tsconfig
Package: @sindresorhus/tsconfig
Created by: sindresorhus
Last modified: Fri, 06 Oct 2023 06:59:05 GMT
Version: 5.0.0
License: MIT
Downloads: 26,715
Repository: https://github.com/sindresorhus/tsconfig

Install

npm install @sindresorhus/tsconfig
yarn add @sindresorhus/tsconfig

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"
	}
}

RELATED POST

Enhancing Vue.js Development: Harnessing the Potential of Vue-Loader

Enhancing Vue.js Development: Harnessing the Potential of Vue-Loader

Simplify Data Validation in Vue.js: A Step-by-Step Guide to Using Regex

Simplify Data Validation in Vue.js: A Step-by-Step Guide to Using Regex

Troubleshooting Made Easy: Common Issues and Solutions with vue-loader Without vue-cli

Troubleshooting Made Easy: Common Issues and Solutions with vue-loader Without vue-cli

Optimizing Webpack 4 with Vue CLI 3: Disabling the Cache-Loader

Optimizing Webpack 4 with Vue CLI 3: Disabling the Cache-Loader

Step-by-Step Guide: How to Add a Function to Your Vuex Plugin

Step-by-Step Guide: How to Add a Function to Your Vuex Plugin