@fly-lab/tsconfig

3.0.1 • Public • Published

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"]
}

Package Sidebar

Install

npm i @fly-lab/tsconfig

Weekly Downloads

1

Version

3.0.1

License

MIT

Unpacked Size

4.43 kB

Total Files

8

Last publish

Collaborators

  • dhnchandan