/Sandstone

A bootstrap for static sites in the Mozilla Universe

Primary LanguageJavaScript

Sandstone

A bootstrap for static sites in the Mozilla Universe. This project aims to automate as much of the process of starting a new website using the Mozilla Sandstone theme as possible and, also provides the tools, via Grunt, to preprocess, lint and minify/uglify the assets.

Prerequisites

You will currently need to follow prerequisites installed:

To intall the LESS preprocessor run the following after installing Nodejs

sudo npm install -g less

Usage

Inside the directory you wish to create your project run:

volo create yourprojectname ossreleasefeed/Sandstone

Grunt Tasks

The current Grunt tasks included:

grunt

This will run the default task which uses lessc to preprocess your .less files

grunt lint

This will lint, using JSHint, your grunt file itself as well as all .js files inside the js folder.