gulp-bemjson2html-updated

0.0.1 • Public • Published

Gulp plugin which compiles bemjson to html

Optionally you can specify bemhtml templates` file.

var gulp = require('gulp');
var bemjson2html = require('gulp-bemjson2html');
var rename = require('gulp-rename');

gulp.task('html', function() {
    return gulp.src('page.bemjson.js')
        .pipe(bemjson2html({ template: 'page.bemhtml.js' }))
        .pipe(rename('index.html'))
        .pipe(gulp.dest('./'));
});

Readme

Keywords

Package Sidebar

Install

npm i gulp-bemjson2html-updated

Weekly Downloads

1

Version

0.0.1

License

ISC

Last publish

Collaborators

  • flamingo573