This package includes scripts and configuration used by Create React App.
Please refer to its documentation:
- Getting Started – How to create a new app.
- User Guide – How to develop apps bootstrapped with Create React App.
create-react-app --scripts-version git+https://github.com/mrblueblue/react-scripts.git <app_name>
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