generator-react-factory

[![Version](https://img.shields.io/npm/v/generator-react-factory.svg)](https://www.npmjs.com/package/generator-react-factory) [![Downloads](https://img.shields.io/npm/dt/generator-react-factory.svg)](https://www.npmjs.com/package/generator-react-factory)

Usage no npm install needed!

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

README

generator-react-factory

Version Downloads

Installation

First, install Yeoman and generator-innfactory-react using npm (we assume you have pre-installed node.js).

npm install -g yo
npm install -g generator-react-factory

Then generate your new project:

yo react-factory

Contains

The CLI lets you configure a template with following features: Everything except the base project is optional.

  • Cypress-Tests-Environment
  • Firebase-Integration
  • Github Actions (cypress-test, build-and-deploy to firebase)
  • Snackbars
  • Subfolder Library
  • Service Worker
  • PolyFills (IE11)

Subgenerators

GithubWorkflows

-- includeCypressTestsWorkflow = Creates Cypress Test action

-- includeBuildAndDeploy = Creates BuildAndDeploy action

"info@info.com" = githubCommitEmail => REQUIRED

"test-proj" = firebaseProjectId => REQUIRED

yo react-factory:github-workflows "info@info.com" "test-proj" --includeCypressTestsWorkflow --includeBuildAndDeploy

Getting To Know Yeoman

  • Yeoman has a heart of gold.
  • Yeoman is a person with feelings and opinions, but is very easy to work with.
  • Yeoman can be too opinionated at times but is easily convinced not to be.
  • Feel free to learn more about Yeoman.

License

MIT © patsta32 innFactory