Meet npm Pro: unlimited public & private packages + package-based permissions.Learn more »

babel-preset-behance

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

45

Version

22.0.0

License

MIT

Unpacked Size

8.53 kB

Total Files

8

Last publish

Collaborators

  • avatar
  • avatar
  • avatar
  • avatar
  • avatar
  • avatar
  • avatar
  • avatar
  • avatar
  • avatar
  • avatar
  • avatar
  • avatar
  • avatar
  • avatar
  • avatar
  • avatar
  • avatar
  • avatar
  • avatar
  • avatar
  • avatar
  • avatar
  • avatar
  • avatar
  • avatar
  • avatar
  • avatar
  • avatar
  • avatar
  • avatar
  • avatar
  • avatar
  • avatar
  • avatar
  • avatar
  • avatar
  • avatar
  • avatar
  • avatar