Skip to content
This repository has been archived by the owner on Jan 7, 2023. It is now read-only.

STORIS/tsconfig

Repository files navigation

@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

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

{
  "extends": "@storis/tsconfig/node18/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.