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

@jvdx/babel-preset

Package Overview
Dependencies
Maintainers
0
Versions
49
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@jvdx/babel-preset

jvdx's babel preset

  • 2.8.0
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
31
decreased by-39.22%
Maintainers
0
Weekly downloads
 
Created
Source

@jvdx/babel-preset

jvdx's babel preset. It includes the following presets and plugins:

Plugins

  • syntax-import-meta
  • transform-regenerator
  • macros
  • transform-async-to-promises

Presets

  • env
  • react
  • typescript

Installation

(1) Install this preset as well as its peer dependencies:

# Using npm
$ npm i -D @babel/core @jvdx/babel-preset

# Using yarn
$ yarn add -D @babel/core @jvdx/babel-preset

(2) Configure babel:

// babel.config.js
{
	"babel": {
		"presets": ["@jvdx/babel-preset"]
	}
}

Configuration

To configure the included presets/plugins, do not add them to presets or plugins in your custom babel configuration. Instead, configure them on the @jvdx/babel-preset preset, like so:

{
	"babel": {
		"presets": [
			[
				"@jvdx/babel-preset",
				{
					"assumptions": {/*...*/},
					"preset-env": {/*...*/},
					"preset-react": {/*...*/},
					"preset-typescript": {/*...*/},
				}
			]
		],
	}
}

Notice: To learn more about the available options for each config, visit their documentation site.

Keywords

FAQs

Package last updated on 02 Jan 2025

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