To kick-start any web project.
- node.js
- gulp
- Fork and/or clone this repository
- run
npm install
- 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
.
This toolbox comes with Assemble engine for generating static pages out of HBS templates and partials.
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. |