Socket
Socket
Sign inDemoInstall

@dawnjs/babel-preset-dawn

Package Overview
Dependencies
194
Maintainers
4
Versions
15
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    @dawnjs/babel-preset-dawn

Basic babel preset


Version published
Weekly downloads
1
Maintainers
4
Install size
13.3 MB
Created
Weekly downloads
 

Readme

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

Last updated on 17 Nov 2021

Did you know?

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

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc