A simple development environment using gulp, webpack, and the browsersync dev server; with support for ES2015, React, and SASS.
Install Node.js and npm:
Make a new repository:
Clone this repo:
$ git clone --bare https://github.com/gomainstream/gulp-webpack-seed-kit.git
$ cd gulp-webpack-seed-kit.git
$ git push --mirror https://github.com/exampleuser/new-repository.git
$ cd ..
$ rm -rf gulp-webpack-seed-kit.git
Now clone the new repository:
$ git clone https://github.com/exampleuser/new-repository.git
$ cd new-repository
Install the modules:
$ npm install
Start the BrowserSync Dev Server:
$ gulp serve
Open your browser:
The server will watch for changes, injecting SASS or causing browser reload as needed.
Build site for deployment:
$ gulp build
The site will be built in /test
.