@build-chores/babel-preset

0.9.0 • Public • Published

@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

Readme

Keywords

none

Package Sidebar

Install

npm i @build-chores/babel-preset

Weekly Downloads

1

Version

0.9.0

License

GPL-3.0

Unpacked Size

39.6 kB

Total Files

6

Last publish

Collaborators

  • critocrito