Socket
Socket
Sign inDemoInstall

@diplodoc/babel-preset

Package Overview
Dependencies
178
Maintainers
8
Versions
3
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    @diplodoc/babel-preset

diplodoc Babel preset


Version published
Weekly downloads
10
increased by900%
Maintainers
8
Install size
16.2 MB
Created
Weekly downloads
 

Readme

Source

@diplodoc/babel-preset

Babel preset for diplodoc projects

Install

npm install --save-dev @diplodoc/babel-preset

Usage

Via .babelrc

{
  "presets": [
      "@diplodoc/babel-preset",
      {
        "env": {modules: false}, // defaults to {}
        "runtime": {useESModules: true}, // defaults to {}
        "typescript": true, // defaults to false
        "react": {runtime: "automatic"} // defaults to {}
      }
  ]
}

Keywords

FAQs

Last updated on 12 Oct 2023

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc