This repo is a boilerplate for React-Babel-Webpack project. You could use it as a base to build your own web app.
- Equip with React, ES6 & Babel 6
- Lint with ESlint and Airbnb's style sheet.
- Build with Webpack
- Support hot module replacement
- Auto Open a new browser tab when Webpack loads, and reload the page when you modified the code
- Use Commitizen to produce commit message according to AngularJS convention
- Support git hook
pre-commit
used to lint and test your code- Support git hook
commit-msg
used to lint your commit message
- Support git hook
- Use conventional-changelog to generate
CHANGELOG.md
Install Yarn
brew update
brew install yarn
Install dependencies
$ cd <yourAppName>
$ yarn install
Then, launch the boilerplate app.
$ yarn start
You should see a new browser tap opening and a title of "Hello World" in http://127.0.0.1:8080.
From there, you start to develop your own code in the app
directory. When you finish coding, use yarn run build
or yarn run deploy
to build the static files.
When committing your code, you should use AngularJS's commit message convention. Otherwise, the repo will throw an error. If you use yarn run commit
instead of git commit
, the command will help you to produce a formatted commit message.
- Cloth rack models
- "Add to cart" -> Hand and shopping cart
- Checkout sign
MIT