@dosomething/babel-config

2.2.2 • Public • Published

babel-config

This is our shared Babel config used for writing JavaScript at DoSomething.org. It compiles the latest ECMAScript standard to ES5 for widespread browser support, adds support for JSX & Flow (with optimizations!), and adds support for experimental export extensions and object spread properties.

Getting Started

Install this package via NPM:

npm install @dosomething/babel-config --save-dev

Specify as a preset in your package.json:

{
  // ...
  "babel": {
    "preset": "@dosomething/babel-config",
  }
}

License

©2017 DoSomething.org. @dosomething/babel-config is free software, and may be redistributed under the terms specified in the LICENSE file. The name and logo for DoSomething.org are trademarks of Do Something, Inc and may not be used without permission.

Dependencies (7)

Dev Dependencies (0)

    Package Sidebar

    Install

    npm i @dosomething/babel-config

    Weekly Downloads

    9

    Version

    2.2.2

    License

    MIT

    Unpacked Size

    24.9 kB

    Total Files

    15

    Last publish

    Collaborators

    • dosomething-admin
    • dfurnes
    • weerd
    • mendelb