🚀 DAY 2 OF LAUNCH WEEK: Announcing Socket Certified Patches: One-Click Fixes for Vulnerable Dependencies.Learn more →
Socket
Book a DemoInstallSign in
Socket

@importantimport/tsconfig

Package Overview
Dependencies
Maintainers
0
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@importantimport/tsconfig

## Usage

Source
npmnpm
Version
0.1.1
Version published
Maintainers
0
Created
Source

@importantimport/tsconfig

Usage

Install

pnpm add -D @importantimport/tsconfig # pnpm
yarn add -D @importantimport/tsconfig # yarn
npm i -D @importantimport/tsconfig # npm

Example

general
// tsconfig.json
{
  "extends": "@importantimport/tsconfig"
}
app
// tsconfig.app.json
{
  "extends": "@importantimport/tsconfig/app.json",
  "include": ["src", "test"]
}
node
// tsconfig.node.json
{
  "extends": "@importantimport/tsconfig/node.json",
  "include": ["*.config.ts", "*.config.js"]
}

Parts

This package has some framework-specific tsconfig parts that you can use to override the default tsconfig.

// tsconfig.app.json
{
  "extends": [
    "@importantimport/tsconfig/app.json",
    "@importantimport/tsconfig/parts/jsx-react.json",
    "@importantimport/tsconfig/parts/paths-at.json"
  ],
  "include": ["src", "test"]
}

Go to the parts directory to see all available parts.

License

MIT

Keywords

tsconfig

FAQs

Package last updated on 31 Jul 2024

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