mrblueblue / react-scripts

react-scripts with redux and file template generation

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

react-scripts

This package includes scripts and configuration used by Create React App.
Please refer to its documentation:

Getting Started

create-react-app --scripts-version git+https://github.com/mrblueblue/react-scripts.git <app_name>

Generator Scripts

The application will have access to several generator scripts that speed-up development. They are:

npm run gen -- --c $NAME
# creates a basic class component

npm run gen -- --cc $NAME
# creates a Redux connected commponent

npm run gen -- --r $NAME
# creates a pair of Redux action/reducer

npm run gen -- --a $NAME
# creates a Redux action file

About

react-scripts with redux and file template generation


Languages

Language:JavaScript 98.1%Language:HTML 1.4%Language:CSS 0.5%