npm.io
1.0.2 • Published 6 years ago

@gabrielduartem/typescript-config

Licence
MIT
Version
1.0.2
Deps
1
Size
2 kB
Vulns
0
Weekly
0

typescript-config

npm version npm downloads

Introduction

The typescript config that I use for most of my projects.

Installation

npm:

npm install --save-dev @gabrielduartem/typescript-config

yarn:

yarn add -D @gabrielduartem/typescript-config

Usage

This package exposes 2 configs in different paths, choose the one that suits your project:

  • For node projects: @gabrielduartem/typescript-config/base.json
  • For web projects: @gabrielduartem/typescript-config/web.json

Create a tsconfig.json file on the root of your project, requiring one of the above configs:

{
  "extends": "@gabrielduartem/typescript-config/base.json"
}

LICENSE

MIT