@storis/tsconfig

2.0.0 • Public • Published

@storis/tsconfig

This package contains the standard TypeScript configurations for packages used by STORIS.

Installation

@storis/tsconfig is available as an npm package.

npm install @storis/tsconfig

Usage

Peer dependencies

The package relies on the following peer dependencies:

  • typescript

Configuration

Node 16

Add the following to your typescript configuration file (e.g. tsconfig.json):

{
  "extends": "@storis/tsconfig/node16/tsconfig.json",
}

Node 18 (CJS)

Add the following to your typescript configuration file (e.g. tsconfig.json):

{
  "extends": "@storis/tsconfig/node18/tsconfig.json",
}

Node 18 (ESM)

Add the following to your typescript configuration file (e.g. tsconfig.json):

{
  "extends": "@storis/tsconfig/node18-esm/tsconfig.json",
}

React

Add the following to your typescript configuration file (e.g. tsconfig.json):

{
  "extends": "@storis/tsconfig/react/tsconfig.json",
}

License

This project is licensed under the terms of the MIT license.

/@storis/tsconfig/

    Package Sidebar

    Install

    npm i @storis/tsconfig

    Weekly Downloads

    1

    Version

    2.0.0

    License

    MIT

    Unpacked Size

    15.4 kB

    Total Files

    7

    Last publish

    Collaborators

    • shawnmcknight
    • kgregory
    • sross65
    • kthompson23