tsconfig-oy

1.0.0 • Public • Published

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

Package Sidebar

Install

npm i tsconfig-oy

Weekly Downloads

1

Version

1.0.0

License

MIT

Unpacked Size

5.67 kB

Total Files

4

Last publish

Collaborators

  • onury