Skip to content

jiayihu/gulp-react-browserify

Repository files navigation

David Love

React.js with Gulp & Browserify

Develop you React.js application with Gulp.js and Browserify

Features

  • Gulp with BrowserSync, Scss support, CSSNano, deployment with GitHub Pages etc.

  • HTML5 Boilerplate included

  • Browserify with Watchify for incremental builds 👌

  • Multiple bundles: vendor.js with React and the other dependencies and main.js with your own code.

    Run gulp vendorScripts to build the vendor.js bundle whenever you add a dependency.

  • Support for JSX conversion and ES2015 with Babelify and its presets

  • Production mode with envify and uglify to reduce bundle size up to 70%

  • History API Fallback for routing

  • ESLint with Airbnb JS Style Guide for ES6 & React.js

  • Testing with ES6 Mocha + Chai + Enzyme

  • Deploy with Github Pages 💥 :octocat:

Usage

Install dependencies

npm install

Development

npm start

Production mode

npm run build

Run tests

npm run test //or npm run test:watch to watch changes

Deploy to Github Pages

npm run deploy

About

💥 Boilerplate for React.js development with Gulp and Browserify

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors