Skip to content

vlad-saling/gulp-starter-pack

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Gulp starter pack

Purpose

To kick-start any web project.

Pre-requisits:

  • node.js
  • gulp

Usage

  1. Fork and/or clone this repository
  2. run npm install
  3. run gulp server

Dev server starts on port 8080. It's wise to check if that port is not already occupied. In case you need to change it, see connect task in gulpfile.js.

Generating static pages

This toolbox comes with Assemble engine for generating static pages out of HBS templates and partials.

Running tasks:

Run tasks via gulp [taskname]. See following list for available tasks:

server Starts web server and watch for entire SRC directory. The only task you should ever need for development.
connect Starts web server.
watch Watch task for entire SRC
sass:lint Linter for SASS.
sass:dev Dev build of SASS.
sass:prod Production build of SASS - optimized.
css:dev SASS lint and css dev build.
css:prod see sass:prod
scripts:lint JavaScript linter
scripts:dev JavaScript dev build.
scripts:prod JavaScript prod build.
render:dev Render HTML from HBS to build-dev.
render:prod Render HTML from HBS copy files to build-prod.
copy:dev Plain copy of HTML files into build-dev.
copy:prod Plain copy of HTML files into build-prod.
build:dev Run dev build. CSS, JS, render HTML from HBS.
build:prod Run prod build. CSS, JS, render HTML from HBS.
build-static:dev Run dev build. CSS, JS, plain HTML copy.
build-static:prod Run prod build. CSS, JS, plain HTML copy.

About

No description or website provided.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Languages