Socket
Book a DemoInstallSign in
Socket

@cyansalt/tsconfig

Package Overview
Dependencies
Maintainers
1
Versions
14
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@cyansalt/tsconfig

My TypeScript configuration

latest
Source
npmnpm
Version
2.2.1
Version published
Maintainers
1
Created
Source

@cyansalt/tsconfig

npm

My TypeScript configuration.

Installation

npm install --save-dev @cyansalt/tsconfig

Usage

// tsconfig.json
{
  "extends": "@cyansalt/tsconfig/tsconfig.app"
  // OR in short (not recommended)
  // "extends": "@cyansalt/tsconfig"
}

For base libraries (which will be used as dependencies):

// tsconfig.json
{
  "extends": "@cyansalt/tsconfig/tsconfig.lib"
}

By default, tsc will not output any files when using the above configuration. The following configuration may be additionally required:

// tsconfig.json
{
  "compilerOptions": {
    // To emit .js files when compiling
    "noEmit": false,
    // To emit .d.ts files when compiling
    "declaration": true
  }
}

In addition, you will also need to specify the files to be included (include) or excluded (exclude) yourself.

For more information, see TSConfig.

Keywords

tsconfig

FAQs

Package last updated on 24 Aug 2023

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