tjwebb/sails-swagger

View on GitHub
gulpfile.js

Summary

Maintainability
A
0 mins
Test Coverage
var gulp = require('gulp');
var babel = require('gulp-babel');

gulp.task('default', function () {
  gulp.src([ 'lib/**' ])
    .pipe(babel())
    .pipe(gulp.dest('dist/lib'));

  gulp.src([ 'api/**' ])
    .pipe(babel())
    .pipe(gulp.dest('dist/api'));

  gulp.src([ 'config/**' ])
    .pipe(babel())
    .pipe(gulp.dest('dist/config'));
});