Skip to content
This repository has been archived by the owner on Aug 27, 2019. It is now read-only.
/ generator-rjs Public archive

A React yeoman generator for components and projects ⚛︎

Notifications You must be signed in to change notification settings

sam-barker/generator-rjs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

generator-rjs

A Yeoman generator for boostrapping a React project with the following technologies:

  • Jest as a test framework, with 100% enforced code coverage
  • Enzyme to test react components
  • SemistandardJS for linting
  • Webpack for bundling
  • Husky for commit hooks

tl;dr

  1. Installing yeoman and the generator:
npm install -g yo
npm install -g generator-rjs
  1. Create your project directory, and inside it run yo rjs
  2. Enjoy!

Scripts

Once generated, the following scripts can be used in your project

"build:dev": builds with webpack in dev mode,
"build:prod": builds with webpack in prod mode,
"start:dev": starts a webpack server with hot reloading in dev mode,
"start:prod": starts a webpack server with hot reloading in prod mode,
"lint": lints the code with semistandard,
"test": runs unit tests,
"test:coverage": runs test coverage

About

A React yeoman generator for components and projects ⚛︎

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published