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

@finos/babel-preset-legend-studio

Package Overview
Dependencies
Maintainers
4
Versions
127
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@finos/babel-preset-legend-studio

Legend Studio Babel preset

  • 2.0.26
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
137
increased by117.46%
Maintainers
4
Weekly downloads
 
Created
Source

@finos/babel-preset-legend-studio

This preset includes the following presets and plugins:

  • @babel/preset-env
  • @babel/preset-react
  • @babel/preset-typescript

And with the development option:

React support adds:

Options

const { development, useTypescript, useReact } = opts;

development

boolean, defaults to false

This toggles behavior specific to development:

  • React support will turn on fast-refresh for files with JSX.

useTypescript

boolean, defaults to false

This toggles support for Typescript. Note that babel does not do type-checking (i.e. it only strips away type annotations and transpile files to Javascript) nor generating type definition files.

useReact

boolean, defaults to false

This toggles support for React. Note that we use automatic for runtime option, which auto-import functions from React@17 that helps with transforming JSX.

Keywords

FAQs

Package last updated on 22 Dec 2022

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