Skip to content

Latest commit

 

History

15 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

tsconfig

These are base shared tsconfig.jsons from which all other tsconfig.json's inherit from.

Config files

  • Base config
  • React config
  • React Native config
  • Next.js Config
  • Preact config
  • Node.js config

Installation

npm install -D @fly-lab/tsconfig
yarn add -D @fly-lab/tsconfig
pnpm install -D @fly-lab/tsconfig

Example Usage

For Next.js app

Extend your project tsconfig.json

{
  "extends": "@fly-lab/tsconfig/nextjs.json",
  "include": ["next-env.d.ts", "**/*.ts", "**/*.tsx"],
  "exclude": ["node_modules"]
}

For React app

Extend your project tsconfig.json

{
  "extends": "@fly-lab/tsconfig/react.json",
  "include": ["next-env.d.ts", "**/*.ts", "**/*.tsx"],
  "exclude": ["node_modules"]
}

About

These are base shared `tsconfig.json`s from which all other `tsconfig.json`'s inherit from.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors