This commit is contained in:
Jan 2016-01-30 13:11:47 +01:00
parent f049861d34
commit 2c0203f6bd
3 changed files with 10850 additions and 3 deletions

View File

@ -3,7 +3,7 @@
var gulp = require('gulp'),
sass = require('gulp-sass'),
autoprefixer = require('gulp-autoprefixer'),
cssmin = require('gulp-cssmin'),
cssnano = require('gulp-cssnano'),
jshint = require('gulp-jshint'),
uglify = require('gulp-uglify'),
imagemin = require('gulp-imagemin'),
@ -34,7 +34,7 @@ gulp.task('styles', function() {var onError = function(err) {
.pipe(autoprefixer('last 2 version', 'IE 9', 'safari 5', 'Firefox ESR', 'opera 12.1', 'ios 6', 'android 4', 'BlackBerry 10'))
.pipe(gulp.dest('./css'))
.pipe(rename({suffix: '.min'}))
.pipe(cssmin())
.pipe(cssnano())
.pipe(gulp.dest('./css'))
.pipe(notify({ message: 'Styles task complete' }));
});

10847
npm-debug.log Normal file

File diff suppressed because it is too large Load Diff

View File

@ -24,7 +24,7 @@
"gulp-imagemin": "^2.3.0",
"gulp-jshint": "^1.11.2",
"gulp-livereload": "^3.8",
"gulp-minify-css": "^1.2",
"gulp-cssnano": "^2.1",
"gulp-notify": "^2.2.0",
"gulp-plumber": "^1.0.1",
"gulp-rename": "^1.2.2",