Share your code. npm Orgs help your team discover, share, and reuse code. Create a free org »

gulp-lebab

0.1.0 • Public • Published

gulp-lebab

gulp plugin for lebab. Turn your ES5 code into readable ES6.

Installation

$ npm install gulp-lebab

Example

var gulp   = require('gulp');
var glebab = require('gulp-lebab');
var print  = require('gulp-print');
var gutil  = require('gulp-util');
 
gulp.task('js', function() {
  return gulp.src([
        '!node_modules/**', 
        '!public/**', 
        '!view/**',
        './**/*.js'
      ])               
      .pipe(print())                           
      .pipe(glebab())
      .on('error', gutil.log)    
      .pipe(gulp.dest('build'));               
});

install

npm i gulp-lebab

Downloadsweekly downloads

7

version

0.1.0

license

MIT

homepage

github.com

repository

Gitgithub

last publish

collaborators

  • avatar
Report a vulnerability