1.0.0 • Published 7 years ago

generator-mg-project-gtb v1.0.0

Weekly downloads
5
License
MIT
Repository
github
Last release
7 years ago

YO Generator MG Project GTB (Gulp, Twig, Bootstrap)

               .  .
               |\/|
              *****
          **********
        *************
                 ****
                 *****
                 ****
                ****
               ****
              ****                                        
             *****                 *************************
            *****         ******************************* 
           ******    **********************************
           ******** *********************************
           *****************************************
            ************************************* 
             **************************************
             ********************x******************* 
               *************************************
    ************************************************************
    *                                                          *
    *       ,--./,-.     MG Project GTB                        *
    *      / #      \    ---------------------------------     * 
    *     |          |   Mélanie Gravel                        *
    *      \        /    melanie082@gmail.com                  *
    *       `._,._,'     https://github.com/MelanieGravel/     *
    *                                                          *
    ************************************************************

Intro

This Boilerplate, branched from David Hellman's dhBoilerplate, was modifified for prototyping purpose and a default integration of Bootstrap 4.

What's inside?

Bootstrap 4

Bootstrap 4 Documentation

Install

$ npm install -g generator-mg-project-gtb

Usage

Jump in your Working Directory and type:

yo mg-project-gtb

Run through the options. When you're done grab a coffee. The node module installation take a while. :)

Commands

Intialize your Project simple with gulp init

Default Task with BrowserSync

gulp

Task for Building

This Task clean the folder, build the stuff from ground up and optimize the images and minifiy JS / CSS files. Ready for live!

gulp build

Other Tasks

There are some other Tasks there…

// Clean Tasks
// Clean the specific folder in the "___dist" dir
gulp clean:templates
gulp clean:css
gulp clean:js
gulp clean:images


// Main Tasks
// All this are triggered within "gulp init" & "gulp build" task.
// Some of this are triggered within the "gulp" task.
gulp templates
gulp systemFiles
gulp modernizr
gulp compile:js
gulp sass
gulp copy:fonts
gulp images
gulp svg-single
gulp svg-sprite


// Minify Tasks
// This task are triggered within the "guld build" task.
gulp minify:js
gulp minify:sass
gulp minify:images

Original Developper

   dhBoilerplate (with Bootstrap) made with love & help.
   -------------------------------------------------------------------------------
   Author            :   David Hellmann
   Website           :   https://davidhellmann.com
   Original Github   :   https://github.com/davidhellmann/generator-dhBoilerplate

Thanks to

  • webdevs - for so many things: Website
  • Sascha Fuchs - for help help help: Website
  • Martin Herweg - for help help help: Website
  • CSS Tricks - for Easing Map: Website
  • Florian Kutschera - for the Material Design Box Shadows: Website
  • Hugo Giraudel & Eduardo Bouças - for include media: Website
  • @LukyVj - for family.scss: Website
  • inuitcss - for some snippets and inspiration: website

bitHound Overall Score