1.0.2 • Published 8 years ago

gulp-bemjson2html v1.0.2

Weekly downloads
2
License
ISC
Repository
-
Last release
8 years ago

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('./'));
});
1.0.2

8 years ago

1.0.1

8 years ago

1.0.0

8 years ago