A Getting start Gulp Workflow boiler-plate for Front end Dev to automate your workflow
Please check the site built using this workflow here or here
- Run
npm install
. - Run
gulp
ornpm run dev
for development. - Run
gulp build
ornpm run build
for production build.
- Clone this repository
- Change the remote url
- Run
npm install
- Update npm dependencies with
npm install npm-check -g
and thennpm-check -u
- Updating a file whenever it is changed so you don’t have to run a command to update it.
- Refreshing the browser automatically when needed so you don’t have to alt-tab and hit the refresh button manually.
- Compile SCSS/SASS/LESS/CSS files when needed without reloading the page for style changes.
- Auto-prefixer for newer css styles prefix for ['last 4 version'] when needed without reloading the page for style changes.
- Stream the compiled css when needed without reloading the page for style changes.
- Optimizing your CSS, JavaScript, images and running every optimization you need to make sure your website is wicked fast.
There are three objectives for the development phase. They are:
- gulp tasks:
clean
,images
,fonts
,styles
,html
,watch
,browserSync
. default
task that chains everything created into a single task.build
task that builds project for production.
strip-css-comments
andcssnano
for CSS.uglify
for JS.
- Gulp.js: Web Project Workflows by Ray Villaloboss
- Getting Started with Gulp.js by Aleksandar Olić
Based on the video tutorial course Gulp.js: Web Project Workflows by Ray Villaloboss