generator-reactapp v1.5.3
generator-reactapp
What
generator-reactapp is a yeoman generator for react app.
Dependencies:
test
tools
- webpack-dev-server(Hot-reload & Mock-API)
 
cross-env (Sets an environment using unix style and have it work on windows too)
- autoprefixer (Add vendor prefixes to CSS rules)
 - precss (Use Sass-like markup in your CSS files)
 
Why
Quickly start a project.
How
Getting Started
To install Yeoman
npm install -g yoTo install generator-reactapp from npm, run:
npm install -g generator-reactappFinally, initiate the generator:
yo reactappAnd then, generate feature by sub-generator:
yo reactapp:featureStarting the dev-server and api-server
npm startRunning Tests
npm testOR
npm run testingBuilding Project
Building for production
npm run build Project Structure
- .babelrc 
babel config - .editorconfig 
editor config - .eslintrc 
eslint config - gulpfile.js 
gulp tasks - server.js 
dev-server - api.js 
mock api server - db.json 
mock database for api - webpack.config.js 
webpack config - test/ 
tests src/
- templates/index.html 
html entry template - assets/
 - constants/ 
common constants - components/ 
react components(reusability) - styles/ 
css styles - containers/ 
react containers(route) - apis/ 
api config - stores/ 
mobx stores - actions/ 
redux actions - reducers/ 
redux reducers - sagas/ 
redux sagas - schemas/ 
redux schemas - selectors/ 
redux selectors - index.jsx 
js entry - libs.jsx 
js vendor - config.js 
config 
- templates/index.html 
 dist/
generated by building
License
MIT
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
