1.2.1 • Published 9 months ago

@codennnn/tsconfig v1.2.1

Weekly downloads
-
License
UNLICENCED
Repository
github
Last release
9 months ago

tsconfig

Shared TypeScript config for projects.

Install

npm install --save-dev @codennnn/tsconfig

Usage

For example, if you are using Next.js project, edit your tsconfig.json like this:

{
  "extends": "@codennnn/tsconfig/next.json"
}

This config above requires TypeScript 4.7 or later. You can find the code here.

When you are targeting a higher version of Node.js, check the relevant ECMAScript version and add it as target:

{
  "extends": "@codennnn/tsconfig",
  "compilerOptions": {
    "outDir": "dist",
    "target": "ES2021"
  }
}

Alternatives

1.2.0

9 months ago

1.2.1

9 months ago

1.1.3

12 months ago

1.1.2

1 year ago

1.1.1

1 year ago

1.1.0

1 year ago

1.0.3

1 year ago

1.0.2

1 year ago

1.0.1

1 year ago

1.0.0

2 years ago