Socket
Book a DemoInstallSign in
Socket

@shaizei/typescript-config

Package Overview
Dependencies
Maintainers
2
Versions
13
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@shaizei/typescript-config

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

latest
Source
npmnpm
Version
0.1.0-beta.13
Version published
Maintainers
2
Created
Source

@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": [...]
}

Keywords

typescript

FAQs

Package last updated on 14 Sep 2019

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts