@bizzy-phoenix/babel-preset-phoenix
Babel preset standard for Bizzy Phoenix projects
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
Copyright © 2018 by Bizzy Engineering Team