Coder Social home page Coder Social logo

gulp-starter-kit's Introduction

Gulp Starter Kit - basic 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

Warning

If you are a Windows user please execute this command in your terminal

npm install --global windows-build-tools

If you are a Linux user please execute this command in your terminal

sudo apt-get install gcc g++ make

How to use

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

Folders

  • Put all styles in src/sass and import everything in styles.scss
  • Put images in src/images folder
  • If you need a svg sprite, put all svg files in src/images/icons, while naming them icon-[name].svg. Filename will be used as a symbol id
  • Put fonts in src/fonts folder
  • Pull all html chunks to be processed by rigger in src/html

Updates and 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. Thx!

gulp-starter-kit's People

Contributors

luxplanjay avatar vbguard avatar nerty777 avatar olexiy-repin avatar

Watchers

James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.