@squibs/ts-config

1.0.1 • Public • Published

@squibs/ts-config

My TypeScript configurations that I use for my TypeScript projects.

If you have a tsconfig.json file already at your project root, it will be overwritten when this package is installed.

A postinstall script from npm is used along with gently-copy to move the tsconfig.json file to your project root.

Installation

1) Install

npm:

npm install -D @squibs/ts-config

yarn:

yarn add -D @squibs/ts-config

2) Optional

Include my eslint-config-typescript package
or my eslint-config-typescript-react package.

Usage

Reference @squibs/ts-config in your tsconfig.json.

TypeScript Projects:

{
  "extends": "@squibs/ts-config/tsconfig.normal.json"
}

TypeScript Projects with React:

{
  "extends": "@squibs/ts-config/tsconfig.react.json"
}

Readme

Keywords

Package Sidebar

Install

npm i @squibs/ts-config

Weekly Downloads

0

Version

1.0.1

License

ISC

Unpacked Size

2.92 kB

Total Files

6

Last publish

Collaborators

  • squibs