New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

tsconfig-moon

Package Overview
Dependencies
Maintainers
1
Versions
9
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

tsconfig-moon

Strict tsconfig.json's for modern projects.

  • 1.3.0
  • latest
  • Source
  • npm
  • Socket score

Version published
Maintainers
1
Created
Source

tsconfig-moon

build status npm version npm license

Pre-packaged, strict, and modern TypeScript tsconfig.jsons. Each config assumes that TypeScript will only be used as a type checker and not a compiler.

yarn add --dev tsconfig-moon

Setup

Extend the config from your root tsconfig.json.

{
  "extends": "tsconfig-moon/tsconfig.json",
  "include": ["src/**/*"]
}

Configs only define compilerOptions and not include, exclude, references, etc.

Features

  • First-class support for ECMAScript modules and their syntax.
    • Supports synthetic default exports.
    • Enables ES interoperability and isolation.
    • Enables the esnext lib.
    • Targets es2022 (since we only type check).
  • Supports project references through the tsconfig.projects.json config.
    • Enables declaration emitting.
    • Enables incremental compilation.
  • Supports React through the tsconfig.react.json config.
    • Enables the dom lib.
    • Sets JSX transform to react.
  • Supports Solid.js through the tsconfig.solid.json config.
  • Strict and performant by default (of course).
  • Does not check JavaScript files.

Keywords

FAQs

Package last updated on 26 Mar 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