ratibor81 / gulp-starter-kit

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Gulp Starter Kit - basic gulp boilerplate

banner.png

  • Able to assemble html, sass, images, fonts
  • Uses gulp-rigger to include html-chunks
  • Generates svg sprite
  • Uses stylelint to lint scss
  • All errors are printed to the console
  • Adds vendor prefixes
  • Optimizes images
  • Merges same media queries
  • Minifies build files

LTS version of NodeJS is required

Usage

  • Download, clone or fork this repo
  • In terminal, navigate to the root folder
  • Run npm i, this will install all dependencies and get rid of junk files
  • After all deps are installed, start developement with npm start command
  • npm run build will prepare your project for deployment
  • Running npm run svg-sprite will rebuild svg sprite
  • Running npm run images will rebuild non sprite image files

Folders

  • Put all styles in src/sass and import everything in styles.scss
  • Put images in src/img folder
  • If u need svg sprite, put all svg files in src/img/sprite
  • All fonts need to go in src/fonts folder

Updates/Bugs

If you've found a bug or would like to propose an update, make a fork of this repo and open a pull request with some comments about an update.

About

License:MIT License


Languages

Language:JavaScript 88.7%Language:HTML 9.9%Language:CSS 1.4%