Socket
Book a DemoInstallSign in
Socket

@shaizei/babel-preset

Package Overview
Dependencies
Maintainers
2
Versions
15
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@shaizei/babel-preset

This package contains shareable babel.js configuration used by the applications created with @shaizei/cli.

latest
Source
npmnpm
Version
0.1.0-beta.12
Version published
Maintainers
2
Created
Source

@shaizei/babel-preset

This package contains shareable babel.js configuration used by the applications created with @shaizei/cli.

Getting Started

1. Installation

Using Yarn:

  yarn add @shaizei/babel-preset --dev

Using npm:

  npm install @shaizei/babel-preset --save-dev

2. Usage

  • Create a new .babelrc file
  • Add @shaizei/babel-preset as follows:

For JavaScript projects:

  {
    "presets": "@shaizei/babel-preset"
  }

Override Default Config

If you want to override the default configuration, then extend .babelrc normally.

Naming Convention

Note that you can also create babel.config.js instead of .babelrc file.

Keywords

babel

FAQs

Package last updated on 13 Sep 2019

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