If you haven't used Grunt before, be sure to check out the Getting Started guide, as it explains how to create a Gruntfile as well as install and use Grunt plugins. Once you're familiar with that process, you can start developing with this theme.
You can either run
bundle install
npm install
bower install
composer install
or let yeoman do all the work for you (full documentation here)
yo bambee
Watches every change being made and run belonging task.
grunt --watch
Create source maps for minified css
and js
files
grunt --devMode
To change theme name, edit name
property in package.json
. This name will be used for themes folder and Theme Name
in style.css
.
{
"name": "bambee",
...
}
- clean: Cleans the compiled themes folder.
- copy: Copies all files, wich have not to be compiled.
- scsslint: Lints your
.scss
files before compiling them. Configuration found inconfig/.scss-lint.yml
. [1] - compass: Compiles your
.scss
files. Configuration found inconfig/config.rb
. - coffeelint: Lints your
.coffee
files before compiling them. Configuration found inconfig/coffeelint.yml
. [2] - coffee: Compiles your
.coffee
files. - cssmin: Minifies and merges
.css
files. - uglify: Minifies and merges
.js
files. - watch: Watches for changes in your files and executes tasks.
[1] Sass style guide [2] CoffeeScript style guide
- The
includes/
directory is loaded into theInc
namespace - The
lib/
directory is loaded into theLib
namespace