Socket
Socket
Sign inDemoInstall

babel-preset-andari-react

Package Overview
Dependencies
223
Maintainers
5
Versions
5
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    babel-preset-andari-react

Andari React Babel Preset


Version published
Weekly downloads
6
increased by500%
Maintainers
5
Install size
58.8 MB
Created
Weekly downloads
 

Readme

Source

babel-preset-andari-react

Babel preset for Andari React Development.

Install

$ npm install --save-dev babel-preset-andari-react

Usage

.babelrc

{
  "presets": ["andari-react"]
}

Via CLI

$ babel script.js --presets andari-react

Via Node API

require("babel-core").transform("code", {
  presets: ["andari-react"]
});

Targeting Environments

This module uses babel-preset-env to target specific environments.

Please refer to babel-preset-env#targets for a list of available options.

For a list of browsers please see browserlist.

You may override our default list of targets by providing your own targets key.

{
  "presets": [["andari-react", {
    "targets": {
      "chrome": 50,
      "explorer": 11,
      "firefox": 45
    }
  }]]
}

The following transpiles only for Node v6.

{
  "presets": [["andari-react", {
    "targets": {
      "node": 6
    }
  }]]
}

You may override our default debug option by providing your own debug key.

{
  "presets": [["andari-react", {
    "debug": true
  }]]
}

FAQs

Last updated on 13 Nov 2017

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