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
Prerequisites : Node.js and Gulp
$ npm install
or
$ yarn install
Serve, watch for changes and automatically refresh across devices.
$ gulp
Build current project, ready for test or deployment.
$ gulp build
gulp css
: Sass, Autoprefixer, CSSnanogulp css-vendor
: Copy and convert*.css
files to*.scss
gulp js
: Concat and Uglifygulp html
: Load data fromdata.json
and compile Twig templatesgulp images
: Compression with imagemingulp sprites
: Auto-generated SVG sprite from.svg
iconsgulp fonts
: Copy fonts filesgulp clean
: Deletedist
foldergulp serve
: BrowserSync server with live-reload and cross-device synchronization
MIT © Florian Bouvot