Skip to content

Mann-Conomy/tsconfig

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ts-config

A sharable TypeScript config for the Mann-Conomy Project.

npm version npm downloads Node.js version GitHub actions GitHub license

Installation

Using npm:

$ npm install --save-dev @mann-conomy/tsconfig

Using yarn:

$ yarn add --dev @mann-conomy/tsconfig

Usage

{
	"extends": "@mann-conomy/tsconfig",
	"compilerOptions": {
		"outDir": "dist"
	}
}

When targeting a higher version of Node.js, you can override the target with the corresponding ECMAScript version.

{
	"extends": "@mann-conomy/tsconfig",
	"compilerOptions": {
		"outDir": "dist",
		"target": "ES2022"
	}
}

For reference, you can find the complete tsconfig here.

License

MIT

Copyright 2024, The Mann-Conomy Project