@zapier/babel-preset-zapier

6.3.1 • Public • Published

🏯 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.

Readme

Keywords

Package Sidebar

Install

npm i @zapier/babel-preset-zapier

Weekly Downloads

1,552

Version

6.3.1

License

none

Unpacked Size

23.6 kB

Total Files

6

Last publish

Collaborators

  • ben.rugg-zapier
  • nicole.hardson-hurley-zapier
  • bryce.seagervandyk-zapier
  • christophe.coutzoukis-zapier
  • jessica.winters-zapier
  • alex.dmowski-zapier
  • cameron.barnes-zapier
  • wojciech.matuszewski-zapier
  • ankit.gordhandas-zapier
  • chrys.swingler-zapier
  • ryan.vennell-zapier
  • benjamin.kempe-zapier
  • ali.tycast-zapier
  • jelani.jackson-zapier
  • jdotcee
  • jeanny.sy
  • jack.zhu-zapier
  • james.hong-zapier
  • dennis.kailikia-zapier
  • tom.leung-zapier
  • service-account-renovate
  • erin.williams-zapier
  • desmond.morris-zapier
  • nolan.little-zapier
  • nik.danilov-zapier
  • michal.wysocki-zapier
  • tomasz.piechota-zapier
  • nate.moore-zapier
  • corbin.schwartz-zapier
  • andrew.kordampalos-zapier
  • jonathan.harrell-zapier
  • jc.coto-zapier
  • andrew.gosnell-zapier
  • amber.diehl-zapier
  • vivian.lau-zapier
  • osarhomiyeke.iyere-zapier
  • kristen.keller-zapier
  • blzapier
  • tal.peretz-zapier
  • shanan.holm-zapier
  • vj.clasgens-zapier
  • marina.hand
  • aubry.stewart-zapier
  • aleks.ozolins-zapier
  • abraham.duran-zapier
  • abdullah.umar-zapier
  • rohit.tripathi-zapier
  • nadia.welter-zapier
  • mike.lambert-zapier
  • ted.schmidt-zapier
  • laura.giles-zapier
  • nitish.upadhyay-zapier
  • catherine.murray-zapier
  • ken.ng-zapier
  • filipalacerda
  • omar.delossantos-zapier
  • ryan.laxson-zapier
  • pedro.louro-zapier
  • zac.jones-zapier
  • brandon.parker-zapier
  • alec.hinh-zapier
  • maggie.cody-zapier
  • mary.rising-zapier
  • harrison.jackson-zapier
  • alex.hovancik-zapier
  • matthew.kiernander-zapier
  • philip.ng-zapier
  • daniel.shepard-zapier
  • sharvari.desai-zapier
  • jenna.macdonald-zapier
  • rval-zapier
  • ryan.dunnewold-zapier
  • ashley.isles-zapier
  • service-account-catalog
  • tazrafiq
  • jayson.kadlecek-zapier
  • ismail.latona-zapier
  • kasey.cowley-zapier
  • sarah.hernandez-zapier
  • aaron.kosel-zapier
  • iris.huang-zapier
  • zapier-interfaces
  • vitor.balocco-zapier
  • scott.woodend-zapier
  • bhavya-zapier
  • emily.harris-zapier
  • sandy.brydon-zapier
  • brian.wendt-zapier
  • lauriemrauch
  • ron.swanson-zapiertest
  • dilan-zapier
  • katestamzap
  • jhk2020
  • percy_at_zapier
  • tupelo8
  • dewayne-zapier
  • sarahstory
  • kevin.zapier
  • raquel.zapier
  • danielheidornzap
  • alex.black
  • katesowles
  • jacquelynmccray
  • schlickmann
  • cody.landry
  • hgascoigne
  • ahsanhassan
  • kaushib
  • nkroeker_zap
  • recamilio
  • andyzapier
  • nataliemona
  • ariella-zapier
  • valeriia.shpiner
  • rchinerman
  • miklossimon
  • amickael-zap
  • sethetter
  • yohana-heringer
  • rebecca.davis.zapier
  • ben.clapp.zapier
  • mattplachter
  • mirrenzap
  • lizzyzap
  • colemaclean
  • sdelosrios95
  • magweaver
  • joseph-corona-zapier
  • nickaccuardizapier
  • raul.negron
  • normanroa
  • fernando.velascosalazar
  • manasseh_zapier
  • davidwin-zap
  • shpzap
  • gabebravo
  • annader-zapier
  • aparkin
  • abhi-kapoor
  • blakek
  • chasehamby
  • zoeykim-zapier
  • djeebus
  • xavierh-zapier
  • kalenwessel
  • lev.glick
  • tkeemon
  • greg-zapier
  • david.zapier
  • joel.taddei
  • robert.lewis
  • plorry
  • ilari.scheinin
  • msholty
  • poterekm
  • cyrilrbt
  • fgrafa
  • dayne-taitt
  • josuezap
  • pwhamman
  • omar.raza
  • adampie
  • erikamontani
  • standielpls
  • mdgreenwald
  • karljs
  • loveena.vattenky
  • kreed-zapier
  • jasehackman
  • tims256
  • zapetc
  • chaodonghu
  • emma-hays
  • michaelann
  • jdaudier
  • joaopimentel
  • ryanmrubin
  • ter0
  • rghazali
  • rsiemens
  • casshill13
  • eliang
  • noahmanger
  • kola-er
  • codebycaleb
  • calebpeterson
  • jordyvd
  • victoravasiloaei
  • lukecjohnson
  • zapier-engineering
  • stevemolitor
  • jdeal
  • bcooksey
  • bryanhelmig
  • robgolding
  • fokkezb
  • sam.plant
  • michaelgilley
  • mlukso
  • mikekuchera
  • joanne
  • juanv
  • ibrahem.zayed
  • muyiwa.olurin
  • jamesacarr
  • mikeknoop
  • josh.newman
  • parsenz
  • larryt
  • rhubbard
  • jacobsowles
  • jacebrowning
  • stacietaylorcima
  • linhvo
  • hitchcockwill
  • renaekathleen
  • chelsea.weber
  • reganstarrzapier
  • cyberwitch
  • veebers
  • thomir
  • shalgrim
  • season.huang
  • chris.vanderkolk.zapier
  • mattbowers-zapier
  • nickm0501
  • bourassa
  • kaycee
  • owarij
  • brian.corbin
  • darko.ronic.zapier
  • kredlear
  • carlolicciardi
  • numichuu
  • justin.zapier
  • chelschubb
  • breetel.graves
  • skylershaw
  • daniel-frazier
  • kemmeroo
  • aaclarker-zap
  • tiffanie
  • errorific
  • ezerwx
  • lijenni
  • jasonkotenko
  • wernertc
  • cortega_zp
  • tkcranny
  • brandon.myers.zapier
  • matthewwalters
  • kat.nestor
  • andya-zapier
  • iansco
  • will.wiggins
  • rondiege
  • annaulyanova
  • bskaurud
  • leons
  • kaitrin.cox
  • jeansimon
  • kimgault
  • rocioar
  • milkram
  • mburni
  • peterbritnell
  • guivasconcelos-zapier
  • carolinezapier
  • emmaielle
  • jeanetteu
  • ismael.mendonca
  • bbohen
  • katmdevr
  • sugatmahanti
  • nicole.thomas
  • ramon.prieto
  • phoydar
  • agscala
  • jordanraleigh
  • josh.barber
  • kamalsingh.naruka
  • sno6
  • robertscl
  • wavebeem
  • laurenmbeatty
  • ankush_zapier
  • ihor.horak
  • keren-zapier
  • maxwellgbrown
  • hanz.cortes
  • alejandro-lagos