@bizzy-phoenix/babel-preset-phoenix

Babel preset standard for Bizzy Phoenix projects - Part of Bizzy Common Web

Usage no npm install needed!

<script type="module">
  import bizzyPhoenixBabelPresetPhoenix from 'https://cdn.skypack.dev/@bizzy-phoenix/babel-preset-phoenix';
</script>

README

@bizzy-phoenix/babel-preset-phoenix

Babel preset standard for Bizzy Phoenix projects

version downloads lerna

How to install

$ yarn add @bizzy-phoenix/babel-preset-phoenix -D
# or
$ npm i @bizzy-phoenix/babel-preset-phoenix -D

Sample Usage

With .babelrc

{
  "presets": [
    [
      "@bizzy-phoenix/babel-preset-phoenix",
    ]
  ]
}

With babel.config.js

const config = require('@bizzy-phoenix/babel-preset-phoenix');

module.exports = (api) => {
  if (api) api.cache(true);
  return config();
};

Script for Development

# run eslint
$ yarn run lint

# run test
$ yarn run test

# run build
$ yarn run build

Bizzy Indonesia

Copyright © 2018 by Bizzy Engineering Team