@carnesen/tsconfig

0.5.0 • Public • Published

@carnesen/tsconfig

Build Status TypeScript configurations for @carnesen projects

Install

npm install --save-dev typescript @carnesen/tsconfig

Usage

These instructions assume that you're using TypeScript >=3.2 with support for "tsconfig.json inheritance via Node.js packages".

Create a file tsconfig.json at the root of your project with contents:

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

Add your own compilerOptions or any other properties described here in the TypeScript docs.

The @carnesen/tsconfig base configuration sets some desirable non-default values such as "strict": true. It also enumerates as comments most of the other available configuration options. The base configuration can be used directly as "extends": "@carnesen/tsconfig". The configuration sets "es2020" as the compiler target, suitable for use with Node.js >=14 or modern browsers.

More information

If you encounter any bugs or have any questions or feature requests, please don't hesitate to file an issue or submit a pull request on this project's repository on GitHub.

Related

License

MIT © Chris Arnesen

Readme

Keywords

none

Package Sidebar

Install

npm i @carnesen/tsconfig

Weekly Downloads

10

Version

0.5.0

License

MIT

Unpacked Size

6.24 kB

Total Files

4

Last publish

Collaborators

  • carnesen