Socket
Book a DemoInstallSign in
Socket

@jvdx/babel-preset

Package Overview
Dependencies
Maintainers
1
Versions
53
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.12.0
latest
Source
npmnpm
Version published
Weekly downloads
8
-80%
Maintainers
1
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

babel

FAQs

Package last updated on 22 Jul 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

About

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.

  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc

U.S. Patent No. 12,346,443 & 12,314,394. Other pending.