gulp-skeleton

Gulp Skeleton

Usage no npm install needed!

<script type="module">
  import gulpSkeleton from 'https://cdn.skypack.dev/gulp-skeleton';
</script>

README

Gulp Templating - InsanityMeetsHH

Demo page

Included

Required

Installation (Recommended)

$ git clone https://github.com/InsanityMeetsHH/gulp-templating.git [project-name]
$ cd [project-name]
$ rm -rf .git
$ npm i
$ gulp build

Change localServer in gulpfile.js to your local server.

Possible local servers (examples): http://imhh-gulp.localhost/ or http://localhost/imhh-gulp/public/.

Project Commands

Description
gulp watch files and start BrowserSync
gulp build executes following tasks: cleanUp, scss, js, scssLint, jsLint, img, font, svg
gulp cleanUp clean up public folder
gulp font copy font
gulp img compress/copy img
gulp js uglify/minify/concat js
gulp jsLint checks js follows lint rules
gulp scss compile/minify/concat scss
gulp scssLint checks scss follows lint rules
gulp svg compress/copy svg
gulp watch watch scss, js, img, font and svg files

Installation with Docker

  • Get this project via $ git clone or zip download
  • Open a command prompt on your OS (if not already open) and navigate to the project folder
  • $ npm i
  • $ gulp build
  • $ docker-compose up -d
  • Open localhost:8080 for website
  • If you want to remove a container $ docker rm [container-name] -f e.g. $ docker rm gulp-templating -f
  • If you want to remove a volume $ docker volume rm [volume-name] e.g. $ docker volume rm imhh-gulp_logs (first remove matching container)
  • If you want to remove all container $ docker rm $(docker ps -a -q) -f
  • If you want to remove all volumes $ docker volume prune (first remove all container)

Links