1.0.0 • Published 5 years ago

generator-prepare-me-templates-gulp v1.0.0

Weekly downloads
3
License
Apache-2.0
Repository
github
Last release
5 years ago

Scaffold templates and Gulp

Scaffold base for developing templates with Gulp.

Get base for developing static templates with Gulp. It includes:

  • folder structure with fundamental files. Number of files in minimal, so the starter is unopinionated.
  • Gulp with tasks for:
    • Styles
      • compiling SCSS to CSS
      • prefixing vendor CSS
      • minification
    • Scripts
      • converting ES6 to ES5
      • concatenation and minification
      • deleting forgotten console logs
      • copying third party scripts
    • Modernizr
      • generating custom modernizr build
    • Markup
      • converting Twig to HTML
    • Images
      • optimization (JPG, PNG, GIF, SVG)
      • conversion to WebP
    • SVG
      • optimizing SVG
      • making SVGSprite
    • Fonts
      • copying fonts
    • Favicon
      • copying favicon
    • Watch
      • watching for changes
    • Serve
      • spining local webserver
      • injecting changes automatically
      • browser synchronization
  • Gulp has config settings to easily adjust paths if needed.

This package is built on Yeoman Generator, read more about it in knowledge base.

Installation

  1. Install CLI tool for running Yeoman.
npm install -g yo
  1. Install generator itself.
npm install -g git+ssh://git@git.proofreason.com:jan.hajek/scaffold-templates-gulp.git
  1. Then use it to scaffold base for next project. You can choose from those options:
CommandDescription
yo scaffold-templates-gulpScaffold the project and setup Gulp