Giter VIP home page Giter VIP logo

gulp-boilerplate's Introduction

Gulp Boilerplate

A minimalistic and light-weight Gulp Boilerplate to quick start your multi-language project from scratch.

Made with ❤️ by Glenn Reyes

Features

  • ES2015 Babel transpiler that allows you writing JS Code in ES2015/ES6 style.
  • Browserify for bundling all your JS components together.
  • Sass: CSS pre-processor with Autoprefixer
  • Browsersync with Livereload
  • Critical extracts the CSS from your critical path (above-the-fold) to HTML for better performance and experience
  • Handlebars templates that organizes the HTML snippets
  • Multi-language Support inspired by i18n

Installation

Install Node & Bower packages:

npm install && bower install

If you don't need any Bower packages, you will have to turn off the font task.

Basic Usage

Serve and watch

To start Browsersync and Livereload, simply:

npm start

Production build

To create a static build just run following command on your CLI:

npm run build

All built files should be in the dist folder afterwards.

Gulp

Your global gulp command is working as well, assuming it's in your machine already. If not, try npm install -g gulpand run any task like gulp styles, gulp criticalor gulp as needed.

Multi-language

The language files are located in the src/data/lang folder and each language share the global.json in their parent folder. You can access to the properties on the handlebars templates by doing {{title}}.

License

This project is licensed under the MIT license, Copyright (c) 2016 Glenn Reyes. For more information check LICENSE

gulp-boilerplate's People

Stargazers

 avatar  avatar

Watchers

 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.