Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

babel-preset-cellular

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

babel-preset-cellular

Babel preset used at CELLULAR

  • 1.1.0
  • latest
  • Source
  • npm
  • Socket score

Version published
Maintainers
1
Created
Source

babel-preset-cellular

Build Status Greenkeeper badge version

This package includes the Babel preset used at CELLULAR.

Presets:

Plugins:

When NODE_ENV or BABEL_ENV is test:

Usage in cellular-scripts projects

The easiest way to use this configuration is with cellular-scripts, which includes it by default. You don’t need to install it separately.

Usage outside of cellular-scripts

If you want to use this Babel preset in a project not built with cellular-scripts, you can install it with following steps:

First, install Babel.

Then install babel-preset-cellular.

npm install babel-preset-react-app --save-dev

Then create a file named .babelrc with following contents in the root folder of your project:

{
  presets: ["cellular"]
}

Options

If your project doesn't use flow, react or glamorous you can turn off these plugins to speed up the processing:

{
  presets: [
    [
      "cellular",
      {
        flow: false,
        react: false,
        displayname: false,
        glamorous: false,
      }
    ]
  ]
}

NOTE: If you use this preset with cellular-scripts this will be done automatically.

License

MIT

FAQs

Package last updated on 25 Feb 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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc