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

@dawnjs/babel-preset-dawn

Package Overview
Dependencies
Maintainers
4
Versions
15
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@dawnjs/babel-preset-dawn

Basic babel preset

latest
Source
npmnpm
Version
2.2.1
Version published
Maintainers
4
Created
Source

@dawnjs/babel-preset-dawn

npm npm

Usage

In .babelrc :

{
  "presets": [
    [
      "@dawnjs/babel-preset-dawn",
      {
        "typescript": true,
        "react": {
          "development": true
        }
      }
    ]
  ]
}

Options

NameTypeDescription
typescriptbooleanWhether support typescript or not
envobjectOptions pass to @babel/preset-env
reactboolean | objectWhether support react or not. If pass object, it's options pass to @babel/preset-react
reactRequirebooleanWhether include babel-plugin-react-require or not
transformRuntimeobjectOptions pass to @babel/plugin-transform-runtime, disabled if not set it

Keywords

dawn

FAQs

Package last updated on 17 Nov 2021

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