Skip to content

EightMedia/static-boilerplate

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Static site boilerplate

Clone and run npm install && gulp!

Features

Gulp

Just run the gulp command and a devserver starts and a watcher for the changes. With gulp build you can force a rebuild of it all.

Webpack

Files in /src/assets/js/ make use of Webpack. You can find the config in /webpack.config.js. It is configured to support bower and ES6 with es6-transpiler and es-module-transpiler.

Jade templates

The jade files inside /src/ are being compiled to .html and placed inside /httpdocs/. The folder /src/includes/ is excluded and can be used to place inclusions/mixins in. The file /src/context.js is included when compiling the templates.

Sass, with auto vendor-prefixes

The CSS is being build with node-sass, and the vendor prefixes are magicly being added by Autoprefixer.

Image compression

JPG, PNG, GIF and SVG files inside /src/assets/img/ are being compressed and copied to /httpdocs/assets/img/.

Live reload

Changed to you CSS and HTML update in the browser without pressing F5.

Releases

No releases published

Packages

No packages published