@shaizei/typescript-config
TypeScript icon, indicating that this package has built-in type declarations

0.1.0-beta.13 • Public • Published

@shaizei/typescript-config

This package contains shareable TypeScript compiler configuration used by the applications created with @shaizei/cli.

Getting Started

1. Installation

Using Yarn:

  yarn add @shaizei/typescript-config typescript --dev

Using npm:

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

2. Usage

  • Create a new tsconfig.js at the root directory of your project.
  • Extend the config from @shaizei/typescript-config
{
  "extends": "@shaizei/typescript-config",
}

And that's it.

Override Default Config

If you want to override some of the pre-defined configuration, then simply write them down after extending from @shaizei/typescript-config.

{
  "extends": "@shaizei/typescript-config",
  "compilerOptions": {
    ...
  },
  "exclude": [...],
  "include": [...]
}

Readme

Keywords

Package Sidebar

Install

npm i @shaizei/typescript-config

Weekly Downloads

13

Version

0.1.0-beta.13

License

MIT

Unpacked Size

11.2 kB

Total Files

6

Last publish

Collaborators

  • shahzaibkhalid
  • shaizei