babel-preset-crowdlab

2.0.0 • Public • Published

babel-preset-crowdlab

A babel preset for transforming your JavaScript for CrowdLab.

Currently based on babel-preset-airbnb with some additions:

Usage in CrowdLab UI

The easiest way to use this configuration is by copying the package boilerplate, which includes it by default. You don't need to install it separately in CrowdLab UI projects.

Usage Outside of CrowdLab UI

If you want to use this Babel preset outside of the CrowdLab UI project, you can install and use it with the following steps.

Install

yarn add -D babel-preset-crowdlab

Usage

Via .babelrc (Recommended)

.babelrc

{
  "presets": ["crowdlab"]
}

Via CLI

babel script.js --presets crowdlab

Via Node API

require("babel-core").transform("code", {
  presets: ["crowdlab"]
});

Readme

Keywords

none

Package Sidebar

Install

npm i babel-preset-crowdlab

Weekly Downloads

0

Version

2.0.0

License

UNLICENSED

Unpacked Size

3.93 kB

Total Files

6

Last publish

Collaborators

  • patrickcorbett
  • k_moeller