@preco21/tsconfig

7.0.0 • Public • Published

tsconfig

Shared TypeScript config for @preco21

Install

npm install --save-dev @preco21/tsconfig

This config requires TypeScript 5.5 or later.

Usage

tsconfig.json:

{
  "extends": "@preco21/tsconfig",
  "include": ["src/**/*"],
  "exclude": ["node_modules"]
}

For Node.js setup without bundler:

{
  "extends": "@preco21/tsconfig/node",
  "compilerOptions": {
    "declaration": false,
    "incremental": true
  },
  "include": ["src/**/*"],
  "exclude": ["node_modules"]
}

Motivation

Heavily inspired by sindresorhus/tsconfig.

Package Sidebar

Install

npm i @preco21/tsconfig

Weekly Downloads

0

Version

7.0.0

License

MIT

Unpacked Size

3.53 kB

Total Files

5

Last publish

Collaborators

  • preco21