Socket
Book a DemoInstallSign in
Socket

babel-preset-codecademy

Package Overview
Dependencies
Maintainers
1
Versions
96
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

babel-preset-codecademy

A collection of babel plugins and presets used at codecademy.com

7.1.0
latest
Source
npmnpm
Version published
Weekly downloads
1K
-46.87%
Maintainers
1
Weekly downloads
 
Created
Source

babel-preset-codecademy

A collection of babel plugins and presets used at codecademy

Install

$ npm install --save-dev babel-preset-codecademy

Usage

.babelrc

{
  "presets": ["codecademy"]
}

Via CLI

$ babel script.js --presets codecademy

Options

Type

default: 'library'

Certain options can be turned on and off depending on what you're using babel for.

For applications, we enable runtime helpers and @babel/runtime becomes a required dependency.

{
  "presets": ["codecademy", { "type": "application" }]
}

For libraries (default), we don't enable runtime helpers because then the resulting package would need @babel/runtime as a dependency, which should be handled by the consumer of the package.

{
  "presets": ["codecademy", { "type": "library" }]
}

Publishing this package

This package is automatically published by GitHub Actions when the version number changes

  • merge your PR into main
  • create a new PR that updates the version of the package in package.json. Base the version bump on all of the changes that will be added in this version.
  • merge the version PR into main
  • check the actions to see when the package is published

Keywords

babel

FAQs

Package last updated on 14 May 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.