@storis/tsconfig
v2.0.0
Published
Typescript configuration bases
Downloads
812
Keywords
Readme
@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.