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

@exercism/babel-preset-javascript

Package Overview
Dependencies
Maintainers
4
Versions
8
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@exercism/babel-preset-javascript

Babel preset configuration for the JavaScript track on Exercism

  • 0.4.0
  • npm
  • Socket score

Version published
Weekly downloads
105
decreased by-17.32%
Maintainers
4
Weekly downloads
 
Created
Source

@exercism/babel-preset-javascript

This is the shared babel preset configuration used by the JavaScript track. Shareable configs are designed to work with the presets and plugins feature of .babelrc configuration files. This means you can use the same configuration you're used to on Exercism in your on projects!

⚠ It's customary to define dependencies such as @babel/core as peerDependency, so it's easy to determine its version by the including project, but because this preset is designed for end-usage, and we want to consolidate updating its dependencies in one place, we currently include these as hard dependencies.

You can still override the version included via the package-lock file, tools like shrinkwrap, or dependency resolution such as yarn provides.

Usage

To use the configuration, open your babel configuration file, and add the following value to presets. For example, for JSON based configuration files:

{
  "presets": ["@exercism/babel-preset-javascript"]
}

Configuration

Find the configuration here. It's goal is to enable babel's preset environment, and occasionally introduce experimental syntax before it becomes widely adopted (stage 3 and beyond, for those following TC39).

FAQs

Package last updated on 06 Jun 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