Socket
Socket
Sign inDemoInstall

@northone/tsconfig

Package Overview
Dependencies
Maintainers
20
Versions
30
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@northone/tsconfig

base tsconfig for northone projects


Version published
Maintainers
20
Created
Source

@northone/tsconfig

Use northone base tsconfig

Installation


npm i -D @northone/tsconfig

Usage


Create tsconfig.json and add the following content:

{
  "extends": "./node_modules/@northone/tsconfig/tsconfig",
  "include": [
    "src/**/*"
  ],
  "exclude": [
    "node_modules"
  ]
}

Override


Override the preset configuration by adding custom compilerOptions.

{
  "extends": "./node_modules/@northone/tsconfig/tsconfig",
  "include": [
    "src/**/*"
  ],
  "exclude": [
    "node_modules"
  ],
  "compilerOptions": {
    /** Override Options **/
  },
}

Preset Config


Following is the included preset configuration.

{
  "compilerOptions": {
    "lib": [
      "es2017"
    ],
    "moduleResolution": "node",
    "noUnusedLocals": true,
    "noUnusedParameters": true,
    "sourceMap": true,
    "declaration": true,
    "importHelpers": true,
    "module": "commonjs",
    "outDir": "lib",
    "rootDir": "src",
    "strict": true,
    "target": "es2017"
  },
  "include": [
    "src/**/*"
  ],
  "exclude": [
    "node_modules"
  ]
}

Learn more about tsconfig extends at: TypeScript - Project Configuration - Extends

FAQs

Package last updated on 05 Feb 2021

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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc