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

@codecompose/typescript-config

Package Overview
Dependencies
Maintainers
0
Versions
14
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@codecompose/typescript-config

Opinionated reusable TypeScript configurations

  • 1.1.1
  • npm
  • Socket score

Version published
Weekly downloads
199
decreased by-50.5%
Maintainers
0
Weekly downloads
 
Created
Source

typescript-config

Opinionated reusable Typescript configurations, assuming:

  • A monorepo setup (*)
  • Transpile with a bundler
  • Strict rules
  • Use of src and dist directories
  • Use of ~/ as path alias for src

(*) Use the single-*.json variants if you do not use a monorepo setup.

All configurations have incremental set to true. For this reason I recommend adding the following script to your manifest based on del-cli:

"clean": "del dist tsconfig.tsbuildinfo"

In my experience, it can happen that builds get stuck in limbo and you need to delete the tsbuildinfo file to get things going again.

Source maps are not enabled, because we assume that your bundler will handle that.

Install

pnpm i @codecompose/typescript-config -D

...or the equivalent for your package manager.

Usage

{
  "extends": "@codecompose/typescript-config/single-react-library.json"
}

Available Configurations

  • library
  • react-library
  • service
  • nextjs
  • single-library
  • single-react-library

Keywords

FAQs

Package last updated on 01 Oct 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

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