@vighnesh153/tsconfig

0.4.7 • Public • Published

@vighnesh153/tsconfig

npm (scoped) GitHub GitHub issues

My preferred tsconfig for different types of projects

Installation

npm install -D @vighnesh153/tsconfig

Usage

Add the following to your tsconfig.json file

{
  "extends": "@vighnesh153/tsconfig/base.json",
  "include": ["."],
  "exclude": ["dist", "build", "node_modules"]
}

Variants

You can use different variants of the configurations in different types of projects

  • Pure typescript project
{
  "extends": "@vighnesh153/tsconfig/base.json",
  "include": ["."],
  "exclude": ["dist", "build", "node_modules"]
}
  • Pure Typescript library
{
  "extends": "@vighnesh153/tsconfig/typescript-library.json",
  "include": ["."],
  "exclude": ["dist", "build", "node_modules"]
}
  • ReactJS typescript library
{
  "extends": "@vighnesh153/tsconfig/react-library.json",
  "include": ["."],
  "exclude": ["dist", "build", "node_modules"]
}
  • NextJS typescript app
{
  "extends": "@vighnesh153/tsconfig/nextjs.json",
  "include": ["."],
  "exclude": ["dist", "build", "node_modules"]
}

Package Sidebar

Install

npm i @vighnesh153/tsconfig

Weekly Downloads

2

Version

0.4.7

License

none

Unpacked Size

4.73 kB

Total Files

7

Last publish

Collaborators

  • vighnesh153