🚀 DAY 5 OF LAUNCH WEEK:Introducing Webhook Events for Alert Changes.Learn more →
Socket
Book a DemoInstallSign in
Socket

@aligent/babel-preset

Package Overview
Dependencies
Maintainers
6
Versions
8
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@aligent/babel-preset

Aligent's Babel Config Preset

latest
Source
npmnpm
Version
1.3.1
Version published
Maintainers
6
Created
Source

Aligent Babel Config Present

Simply install via npm i -D @aligent/babel-preset

Then add the following to you babel.config.js or .babelrc.json

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

You can also configure the preset to pass options through to @babel/preset-env

module.exports = {
    presets: [
        [
            '@aligent/babel-preset',
            // same config here will be merge with default and provided to @babel/preset-env
            {
                shippedProposals: true,
                useBuiltIns: 'entry',
                modules: false,
                corejs: '3'
            }
        ]
    ]
};

Update

Once updated the config, run npm test and check inside project too.

  • Update changelog and commit
  • Run npm version patch|minor|major
  • Git push (--tags)
  • npm publish

Keywords

babel

FAQs

Package last updated on 13 Oct 2020

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