Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@pocket-tools/tsconfig

Package Overview
Dependencies
Maintainers
3
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@pocket-tools/tsconfig

TSConfig used across Pocket

  • 2.0.2
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
6K
increased by64.26%
Maintainers
3
Weekly downloads
 
Created
Source

TSConfig config

These are settings for TSConfig used by Pocket.

What it does

This setups up your Typescript tslint settings based on best practices. Check the tsconfig.json file to see what is included. Feel free to override the rules that make sense for you.

Installing

  1. In your project folder, run:
npm i -D @pocket-tools/tsconfig # or yarn install --dev @pocket-tools/tsconfig
  1. You will see several dependencies were installed. Now, create (or update) a tsconfig.json file with the following content:

If you don't already have one the NPM post install script will create it for you.

{
  "extends": "@pocket-tools/tsconfig",
  "compilerOptions": {
    "outDir": "dist",
    "rootDir": "src"
  },
  "exclude": [
    "node_modules/",
    "dist/"
  ],
  "include": [
    "src/**/*.ts",
    "src/config"
  ]
}

Concepts are used from https://github.com/Chatie/tsconfig

Keywords

FAQs

Package last updated on 30 Nov 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

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