/hello-react

React starter with ES6, grunt and webpack.

Primary LanguageJavaScriptMIT LicenseMIT

hello-react

React starter with ES6, grunt and webpack.

What you get

  • React 0.14
  • ES6 and JSX to ES5 via babel
  • ES6 and JSX validation via ESLint
  • webpack with react hot loader
  • Grunt tasks

Build

  • Have NodeJS installed.
  • Run these lines:
npm install -g grunt-cli
npm install
npm start

Note: npm start will open localhost:3000 in Chrome. If you do not install Chrome, you can use the no-chrome branch.

  • Other build tasks:

    • grunt build: Build the project for distributing.
    • grunt dev: Build the project for developing or debugging.
    • grunt: Validate all script files.
    • grunt serve: Build and preview the project for developing.
    • grunt serve:dist Build and preview the project for distributing.

License

This project and code is available under the MIT license.

Further reading