This package provides simple and clear tools to build your BEM project with simple
deps.js support. In fact - gulp can build BEM projects without deps with no additional plugins, read about it on getbem.com — Building.
Building CSS for BEM project:
var gulp = ;var bem = ;var concat = ;var levels = 'base' 'blocks';var tree = ;tree;
Pretty easy, eh, mate?
Creates function, that used for resolving dependencies in BEM project. Returns
Contains array of Levels. They will be used in searching for requested blocks and ordering blocks with same names in different levels.
Options, that passed to bem-naming.
This method consumes stream of BEM objects and searches files by glob pattern in them.
All files, that contained under BEM object path, following some convention about naming. Often CSS file have name of block and added
.css suffix. If BEM object describes block with modificators, then it can be
block_mod_value.css. You can read about naming and directory structure at getbem.com, if there are questions about it.
- gulp-bem-debug - nice output for BEM objects in stream.
- gulp-bem-specs - specifications, that used in
MIT (c) 2014 Vsevolod Strukchinsky