Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

build-tools-babel

adidas165MITdeprecated1.3.0

This package is unmaintained and for reference only, please use the native tools instead

Configurations to use babel

readme

npm version

build-tools-babel

Adds all required dependencies and configurations to use babel in JavaScript projects.

Install

npm install --save-dev build-tools-babel

Usage

Extend your .babelrc with build-tools-babel

{
  "extends": "build-tools-babel"
}

Then you can run babel as you would normally do, e.g:

npx babel src -d dist

changelog

1.3.0

  • Added core-js@3 and `regenerator-runtime@0.13`.
  • Updated babel and related dependencies semver to v7.
  • Updated eslint-config-adidas-babel.
  • Updated engines to node >= 12 and npm >= 6.
  • Replaced babel-eslint by @babel/eslint-parser@7.
  • Removed @babel/polyfill.

1.2.0

  • Updated babel to v7.7 and related dependencies.
  • Updated eslint-config-adidas-babel.
  • Added plugin transform-regenerator.

1.1.0

  • Updated babel to v7.4 and related dependencies.
  • Removed unnecessary plugins (istanbul, transform-object-rest-spread).

1.0.1

  • Initial version: build-tools-babel.