Skip to content
This repository has been archived by the owner on Feb 9, 2022. It is now read-only.

florianbouvot/aperitif

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Aperitif

Aperitif is a boilerplate for web projects.

  • Compile Sass into CSS
  • Compile Twig templates (+ json data)
  • Minify and concatenate CSS, JS and optimize images
  • Create SVG icons sprite
  • Copy fonts files
  • Built-in HTTP Server with live-reload and cross-device synchronization

Getting Started

Prerequisites : Node.js and Gulp

1. Clone or download this repository

2. Install dependencies

$ npm install

or

$ yarn install

3. Run gulp

Serve, watch for changes and automatically refresh across devices.

$ gulp

Build current project, ready for test or deployment.

$ gulp build

Others commands

  • gulp css: Sass, Autoprefixer, CSSnano
  • gulp css-vendor: Copy and convert *.css files to *.scss
  • gulp js: Concat and Uglify
  • gulp html: Load data from data.json and compile Twig templates
  • gulp images: Compression with imagemin
  • gulp sprites: Auto-generated SVG sprite from .svg icons
  • gulp fonts: Copy fonts files
  • gulp clean: Delete dist folder
  • gulp serve: BrowserSync server with live-reload and cross-device synchronization

License

MIT © Florian Bouvot

About

A boilerplate for web projects

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published