ec-scripts-preset-react

React preset for ec-scripts.

Usage no npm install needed!

<script type="module">
  import ecScriptsPresetReact from 'https://cdn.skypack.dev/ec-scripts-preset-react';
</script>

README

eC Scripts React Preset

Extends eC Scripts configuration with React support.

Quick Overview

This preset enables:

  • New ESLint rules
  • Babel support for React/JSX syntax
  • Webpack Hot Module Replacement
  • Jest with Enzyme
  • CSS Modules by default

Installation

Using eC CLI:

ec-cli init react

If you want to add this preset to an existing project, please read the eC Scripts installation guide.