New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More

@dlghq/babel-preset-dialog

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@dlghq/babel-preset-dialog

Babel preset for dialog projects

3.5.0
Version published
Maintainers
23
Created

Babel Preset

Babel preset for dialog projects.

Installation

npm install --save-dev @dlghq/babel-preset-dialog

Usage

Add @dlghq/babel-preset-dialog to your .babelrc.

{
  "presets": [
    ["@dlghq/babel-preset-dialog", {
      "strict": false,
      "optimize": true,
      "typecheck": true
    }]
  ]
}

Options

NameDefaultDescription
specfalseEnable spec compliance.
flowfalseConvert flow-types to comments.
loosetrueEnable loose mode.
reacttrueEnable react transforms.
es2015trueEnable ES2015 syntax.
esnexttrueEnable ESNext syntax.
stricttrueAdd "use strict"; to each file.
runtimetrueEnable babel runtime. Requires babel-runtime package.
modulestrueEnable ES2015 modules transforms.
helpersfalseEnable babel external helpers.
optimizefalseEnable optimization plugins.
typecheckfalseEnable typecheck plugin.
developmentfalseEnable development mode plugins.

License

Apache-2.0

FAQs

Package last updated on 22 Nov 2018

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