1.0.0 • Published 3 years ago

tsconfig-oy v1.0.0

Weekly downloads
-
License
MIT
Repository
github
Last release
3 years ago

tsconfig-oy

Shared TypeScript config for my projects.

This module embraces:

  • ESM
  • Node v12+
  • ES2019, ES2020

Installation

$ npm install --save-dev tsconfig-oy

Usage

tsconfig.json

{
    "extends": "tsconfig-oy",
    "compilerOptions": {
        "baseUrl": ".",
        "declarationDir": "lib",
        "outDir": "lib",
        // ...
    },
    // ...
}

When you are targeting a higher version of Node.js, check the relevant ECMAScript version and add it as target:

{
    "extends": "tsconfig-oy",
    "compilerOptions": {
        "target": "ES2021",
        // ...
    },
    // ...
}

Related projects