0.9.0 • Published 5 years ago

@build-chores/babel-preset v0.9.0

Weekly downloads
1
License
GPL-3.0
Repository
github
Last release
5 years ago

@build-chores/babel-preset

Transpiling JS projects is complicated.

Synopsis

License: GPL v3 npm version Build Status

Transpile Javascript to be compatible with Node 8.

Usage

Install the @build-chores/babel-preset package into your project:

yarn install --dev @build-chores/babel-preset

Create a .babelrc file containing the following snippet:

{
  "presets": [["@build-chores/babel-preset"]]
}

See the example .babelrc for a template.

Edit your package.json to include the following script. See the example package.json for a template.

{
  "scripts": {
    "compile": "babel -d dist src"
  }
}

You are ready to transpile your JavaScript code.

Contribute

Check out our contributing.md to get started.

License