@sharyn/babel-preset

You can use this package as a standalone, but I recommend following the development setup tutorial to also install ESLint, Flow, Jest, React, and their Babel-related plugins.

Usage no npm install needed!

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

README

🌹 @sharyn/babel-preset

npm

You can use this package as a standalone, but I recommend following the development setup tutorial to also install ESLint, Flow, Jest, React, and their Babel-related plugins.

🌹 Install

Minimal install:

yarn add --dev @sharyn/babel-preset @babel/core

Add to your package.json:

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

🌹 Auto-configured Modules

The following supported modules are automatically configured for Babel if they are detected in your package.json:

See the implementation.

Note: Flow does not support the pipeline operator yet.