dashboardjavacloudcoapiotiot-analyticsiot-platformiot-solutionskafkalwm2mmicroservicesmiddlewaremqttnettyplatformsnmpthingsboardvisualizationwebsocketswidgets
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
27 lines
658 B
27 lines
658 B
'use strict';
|
|
|
|
var gulp = require('gulp'),
|
|
uglify = require('gulp-uglify'),
|
|
$ = require('gulp-load-plugins')({lazy: true});
|
|
|
|
gulp.task('lint', function() {
|
|
return gulp.src([
|
|
'angular-material-icons.js',
|
|
'demo.js'
|
|
])
|
|
.pipe($.jshint())
|
|
.pipe($.jshint.reporter('jshint-stylish', {verbose: true}));
|
|
});
|
|
|
|
gulp.task('minify', function() {
|
|
return gulp.src([
|
|
'angular-material-icons.js'
|
|
])
|
|
.pipe($.uglify())
|
|
.pipe($.rename('angular-material-icons.min.js'))
|
|
.pipe(gulp.dest('.'));
|
|
});
|
|
|
|
gulp.task('default', ['lint', 'minify']);
|
|
|
|
module.exports = gulp;
|
|
|