adamisntdead / boilerplate

A Modern, Gulp Based, Front End Build Setup 😊

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Boilerplate

This is a build system boilerplate for frontend projects. This is not for sites that use frameworks such as Vue, React or Angular.

Features

  • Sass
  • Autoprefixer
  • HTML Includes
  • Minification
  • JS Module Bundling
  • Image Optimization
  • Moves Everything To An Output Folder
  • Adds Image Sizes To HTML Inline (for the backend developers!)
  • Clean up your source code (HTML and JS)
  • Live Reloading / Rebuilding

What Are We Using?

Usage

First install the dependencies:

$ npm install

Or if you float that way,

$ yarn

Then you can run the scripts. There is 4 main tasks:

  • npm run dist - Build the production version of the site (think minify and optimize)
  • npm run dev - Build the development version of the site (think faster)
  • npm run watch - Like npm run dev but it watches for changes and builds incrementally
  • npm run format - Clean up your HTML and JS source code

License

MIT

About

A Modern, Gulp Based, Front End Build Setup 😊


Languages

Language:CSS 62.2%Language:HTML 22.7%Language:JavaScript 15.2%