Nebulous Plasma Muffin

    babel-preset-behance

    23.0.0 • Public • Published

    babel-preset-behance npm travis

    Babel preset for Behance

    • modules is false by default (for webpack >= 2)
    • useBuiltIns is set to entry instead of false
    • Stage 3 (loose) is included

    Install

    $ npm install --save-dev babel-preset-behance

    Usage

    Via .babelrc (Recommended)

    .babelrc

    {
      "presets": ["behance"]
    }

    Via CLI

    $ babel script.js --presets behance

    Via Node API

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

    Options

    {
      "presets": ["behance", {
        "env": {
          "modules": "commonjs"
        }
      }]
    }
    {
      "presets": ["behance", {
        "env": {
          "targets": {
            "chrome": 55
          }
        }
      }]
    }
    {
      "presets": ["behance", {
        "env": {
          "targets": {
            "node": "current"
          }
        }
      }]
    }

    Keywords

    none

    Install

    npm i babel-preset-behance

    DownloadsWeekly Downloads

    68

    Version

    23.0.0

    License

    MIT

    Unpacked Size

    8.53 kB

    Total Files

    8

    Last publish

    Collaborators

    • chthomas
    • lanniemiao
    • mtrajano93
    • moskalen
    • elewis
    • mansinarain
    • attamusc
    • weikinhuang
    • mase
    • agaripian
    • nemtsov
    • bryanpackman
    • matt-oconnell
    • mlebrun
    • andyroo2000
    • ingluisjimenez
    • gtuckeradobe
    • tpaparne
    • danicasapit
    • dfoxinator
    • jelee11
    • jmedoy
    • bossjones
    • mtldo
    • jushean
    • bryanlatten
    • sadraei
    • tracyfogel
    • kangman
    • iooi
    • benake
    • davestein
    • hzoo
    • kaicataldo