diff options
Diffstat (limited to 'ecomp-portal-FE/client/bower_components/jquery.newstape/gulpfile.js')
-rw-r--r-- | ecomp-portal-FE/client/bower_components/jquery.newstape/gulpfile.js | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/ecomp-portal-FE/client/bower_components/jquery.newstape/gulpfile.js b/ecomp-portal-FE/client/bower_components/jquery.newstape/gulpfile.js new file mode 100644 index 00000000..68104cd0 --- /dev/null +++ b/ecomp-portal-FE/client/bower_components/jquery.newstape/gulpfile.js @@ -0,0 +1,22 @@ +var gulp = require('gulp'), + uglify = require('gulp-uglify'), + rename = require('gulp-rename'), + clean = require('gulp-clean'); + +gulp.task('minjs', function() { + return gulp.src(['jquery.newstape.js']) + .pipe(uglify()) + .pipe(rename({ + suffix: ".min" + })) + .pipe(gulp.dest('dist')); +}); + +gulp.task('clean', function() { + return gulp.src(['dist/**/.*'], {read: false}) + .pipe(clean()); +}); + +gulp.task('default', ['clean', 'minjs'], function() { + +});
\ No newline at end of file |