/babel-preset-sharyn

Primary LanguageJavaScriptMIT LicenseMIT

🌹 babel-preset-sharyn

I am currently using TypeScript instead of Babel and Flow for my projects, so this package won't be updated.

Usage

In package.json, use:

  "babel": {
    "presets": ["sharyn"]
  }

Presets

The presets used are:

@babel/preset-env
@babel/preset-react
@babel/preset-flow

Plugins

The plugins used are:

@babel/plugin-proposal-nullish-coalescing-operator
@babel/plugin-proposal-optional-chaining
@babel/plugin-proposal-optional-catch-binding
babel-plugin-module-resolver

In development only:

babel-plugin-flow-react-proptypes
react-hot-loader/babel

This package is part of @sharynjs/sharyn.