@atws/tsconfig

2.1.0 • Public • Published

@atws/tsconfig

npm

This package contains a set of tsconfig.json files that can be used as a base for other projects. Typescript is configured as strict as possible, but still allows for some flexibility.

Usage

Install the package:

yarn add -D @atws/tsconfig

Create a tsconfig.json file in the root of your project and extend the base config:

{
  "$schema": "https://json.schemastore.org/tsconfig",
  "extends": "@atws/tsconfig/node18/base",
  "include": ["src/**/*.{ts}"]
}

Variants

There are additional variants of the base config that can be used to extend the base config.

Name Dir Description
Node 18 node18/base Base for Node 18
Node 18 / React node18/react React using Node 18
Node 18 / Svelte node18/svelte Svelte using Node 18
Node 16 node16/base Base for Node 16
Node 16 / React node16/react React using Node 18

Package Sidebar

Install

npm i @atws/tsconfig

Weekly Downloads

24

Version

2.1.0

License

MIT

Unpacked Size

6.03 kB

Total Files

10

Last publish

Collaborators

  • nimmervoll