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)
-
Quickly start a project.
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:featurenpm startnpm testOR
npm run testingBuilding for production
npm run build -
.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
MIT
