
Product
Announcing Socket Fix 2.0
Socket Fix 2.0 brings targeted CVE remediation, smarter upgrade planning, and broader ecosystem support to help developers get to zero alerts.
@dlghq/babel-preset-dialog
Advanced tools
Babel preset for dialog projects.
npm install --save-dev @dlghq/babel-preset-dialog
Add @dlghq/babel-preset-dialog
to your .babelrc
.
{
"presets": [
[
"@dlghq/babel-preset-dialog",
{
"strict": false,
"optimize": true,
"typecheck": true
}
]
]
}
Name | Default | Description |
---|---|---|
spec | false | Enable spec compliance. |
flow | false | Convert flow-types to comments. |
loose | true | Enable loose mode. |
react | true | Enable react transforms. |
es2015 | true | Enable ES2015 syntax. |
esnext | true | Enable ESNext syntax. |
strict | true | Add "use strict"; to each file. |
runtime | true | Enable babel runtime. Requires babel-runtime package. |
modules | true | Enable ES2015 modules transforms. |
helpers | false | Enable babel external helpers. |
optimize | false | Enable optimization plugins. |
typecheck | false | Enable typecheck plugin. |
development | false | Enable development mode plugins. |
FAQs
Babel preset for dialog projects
We found that @dlghq/babel-preset-dialog demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 24 open source maintainers collaborating on the project.
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.
Product
Socket Fix 2.0 brings targeted CVE remediation, smarter upgrade planning, and broader ecosystem support to help developers get to zero alerts.
Security News
Socket CEO Feross Aboukhadijeh joins Risky Business Weekly to unpack recent npm phishing attacks, their limited impact, and the risks if attackers get smarter.
Product
Socket’s new Tier 1 Reachability filters out up to 80% of irrelevant CVEs, so security teams can focus on the vulnerabilities that matter.