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

@zapier/babel-preset-zapier

Package Overview
Dependencies
Maintainers
62
Versions
24
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@zapier/babel-preset-zapier

A babel preset for Zapier

  • 5.4.2
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
827
decreased by-31.2%
Maintainers
62
Weekly downloads
 
Created
Source

🏯 babel-preset-zapier

A babel preset for Zapier. Heavily inspired by babel-preset-airbnb.

Installation

yarn add --dev @zapier/babel-preset-zapier

Usage

Create your .babelrc file in the root of your project:

{
  "presets": ["@zapier/babel-preset-zapier"]
}

Features

  • Uses babel-preset-env
  • Defaults to a sane list of browser versions (based on https://github.com/zapier/browserslist-config-zapier).
  • ES modules by default.
  • Handles extra configuration for testing with Jest for you.
  • Supports dynamic import() statements, object rest-spread and class properties.
  • Removes PropTypes definitions in production.
  • Compiles GraphQL tagged template strings in production.
  • Configures emotion to add filepaths to classNames by default.

Note that babel-preset-zapier currently does not support babel versions lower than v7.

Publishing / Deploying

  • Use semantic versioning for deciding how to bump versions.
  • npm publish to publish the new version to NPM.

Keywords

FAQs

Package last updated on 29 Oct 2019

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