generator-horizon-react-component

Yeoman generator for a component development scaffolding

Usage no npm install needed!

<script type="module">
  import generatorHorizonReactComponent from 'https://cdn.skypack.dev/generator-horizon-react-component';
</script>

README

generator-horizon-react-component

Yeoman generator for a component development scaffolding

Usage

> npm install -g yo generator-horizon-react-component

From your new project directory:

> yo horizon-react-component

Then follow the instructions from CLI

What's inside

  • Basic React component
  • ES6 + JSX compilation with babel
  • Tests with mocha + jsdom
  • Sass compilation with node-sass
  • Demo page built with webpack

Check more details in the README.md of the generated project