@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,185

Version

6.3.1

License

none

Unpacked Size

23.6 kB

Total Files

6

Last publish

Collaborators

  • jason.brandt-zapier
  • ben.mcadams-zapier
  • kunal.mahajan-zapier
  • lstensager
  • diomer
  • eumie.jhong-zapier
  • mahsa.khoshab-zapier
  • matthew.hockenbury-zapier
  • kit.burgess-zapier
  • jake.talgard-zapier
  • jonathan.wise-zapier
  • isidro.hernandez-zapier
  • daniel.vagg-zapier
  • mason.geloso-zapier
  • lisa.orr
  • rafal.wilinski-zapier
  • anna.hadnagy-zapier
  • chris.lee-zapier
  • zackary.higgins-zapier
  • rahul.es-zapier
  • jake.lear-zapier
  • service-account-appsec
  • michael.gill-zapier
  • sara.gomez-zapier
  • cameron.phillips-zapier
  • joe.smith-zapier
  • olajide.ayinla-zapier
  • charan.mahesan-zapier
  • james.miltenberger-zapier
  • dan.middleton-zapier
  • jake.moghtader-zapier
  • treesrule14
  • aispurostrangepixels
  • carlos.bazana-zapier
  • diego.rodriguez.vzq
  • myless91
  • heather.osborn-zapier
  • nicholas.civili-zapier
  • lukas.toma-zapier
  • husaina.wardhawala-zapier
  • lisa.zapier
  • david.jardine-zapier
  • david.graves-zapier
  • ana.krivokapic-zapier
  • jacob.blakely-zapier
  • ryan.detzel-zapier
  • brody-zapier
  • ben.rugg-zapier
  • nicole.hardson-hurley-zapier
  • bryce.seagervandyk-zapier
  • christophe.coutzoukis-zapier
  • jessica.winters-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
  • james.hong-zapier
  • dennis.kailikia-zapier
  • tom.leung-zapier
  • service-account-renovate
  • erin.williams-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
  • mike.lambert-zapier
  • ted.schmidt-zapier
  • laura.giles-zapier
  • nitish.upadhyay-zapier
  • catherine.murray-zapier
  • ken.ng-zapier
  • 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
  • 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
  • emily.harris-zapier
  • sandy.brydon-zapier
  • brian.wendt-zapier
  • ron.swanson-zapiertest
  • dilan-zapier
  • katestamzap
  • jhk2020
  • percy_at_zapier
  • tupelo8
  • dewayne-zapier
  • sarahstory
  • raquel.zapier
  • danielheidornzap
  • alex.black
  • katesowles
  • jacquelynmccray
  • schlickmann
  • cody.landry
  • hgascoigne
  • ahsanhassan
  • kaushib
  • nkroeker_zap
  • recamilio
  • andyzapier
  • 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
  • gabebravo
  • annader-zapier
  • aparkin
  • abhi-kapoor
  • blakek
  • chasehamby
  • zoeykim-zapier
  • djeebus
  • xavierh-zapier
  • kalenwessel
  • lev.glick
  • greg-zapier
  • david.zapier
  • joel.taddei
  • robert.lewis
  • plorry
  • ilari.scheinin
  • msholty
  • poterekm
  • fgrafa
  • dayne-taitt
  • josuezap
  • pwhamman
  • omar.raza
  • adampie
  • erikamontani
  • standielpls
  • loveena.vattenky
  • 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
  • hitchcockwill
  • renaekathleen
  • chelsea.weber
  • reganstarrzapier
  • cyberwitch
  • veebers
  • thomir
  • shalgrim
  • season.huang
  • chris.vanderkolk.zapier
  • nickm0501
  • kaycee
  • owarij
  • brian.corbin
  • darko.ronic.zapier
  • kredlear
  • numichuu
  • justin.zapier
  • chelschubb
  • skylershaw
  • daniel-frazier
  • 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
  • kaitrin.cox
  • jeansimon
  • rocioar
  • milkram
  • mburni
  • peterbritnell
  • guivasconcelos-zapier
  • carolinezapier
  • emmaielle
  • jeanetteu
  • ismael.mendonca
  • bbohen
  • sugatmahanti
  • nicole.thomas
  • agscala
  • jordanraleigh
  • josh.barber
  • kamalsingh.naruka
  • robertscl
  • wavebeem
  • laurenmbeatty
  • ankush_zapier
  • ihor.horak
  • maxwellgbrown
  • hanz.cortes
  • alejandro-lagos