Socket
Socket
Sign inDemoInstall

@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


Version published
Weekly downloads
0
decreased by-100%
Maintainers
4
Weekly downloads
 
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

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

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