Clean up gulp file and package.json according to https://github.com/understrap/understrap/issues/853
This commit is contained in:
parent
9ce8163f8f
commit
1208774d79
|
@ -3,16 +3,12 @@ var gulp = require( 'gulp' );
|
||||||
var plumber = require( 'gulp-plumber' );
|
var plumber = require( 'gulp-plumber' );
|
||||||
var sass = require( 'gulp-sass' );
|
var sass = require( 'gulp-sass' );
|
||||||
var watch = require( 'gulp-watch' );
|
var watch = require( 'gulp-watch' );
|
||||||
var cssnano = require( 'gulp-cssnano' );
|
|
||||||
var rename = require( 'gulp-rename' );
|
var rename = require( 'gulp-rename' );
|
||||||
var concat = require( 'gulp-concat' );
|
var concat = require( 'gulp-concat' );
|
||||||
var uglify = require( 'gulp-uglify' );
|
var uglify = require( 'gulp-uglify' );
|
||||||
var merge2 = require( 'merge2' );
|
|
||||||
var imagemin = require( 'gulp-imagemin' );
|
var imagemin = require( 'gulp-imagemin' );
|
||||||
var ignore = require( 'gulp-ignore' );
|
var ignore = require( 'gulp-ignore' );
|
||||||
var rimraf = require( 'gulp-rimraf' );
|
var rimraf = require( 'gulp-rimraf' );
|
||||||
var clone = require( 'gulp-clone' );
|
|
||||||
var merge = require( 'gulp-merge' );
|
|
||||||
var sourcemaps = require( 'gulp-sourcemaps' );
|
var sourcemaps = require( 'gulp-sourcemaps' );
|
||||||
var browserSync = require( 'browser-sync' ).create();
|
var browserSync = require( 'browser-sync' ).create();
|
||||||
var del = require( 'del' );
|
var del = require( 'del' );
|
||||||
|
@ -25,10 +21,6 @@ var autoprefixer = require( 'gulp-autoprefixer' );
|
||||||
var cfg = require( './gulpconfig.json' );
|
var cfg = require( './gulpconfig.json' );
|
||||||
var paths = cfg.paths;
|
var paths = cfg.paths;
|
||||||
|
|
||||||
gulp.task( 'watch-scss', ['browser-sync'], function() {
|
|
||||||
gulp.watch( paths.sass + '/**/*.scss', ['scss-for-dev'] );
|
|
||||||
});
|
|
||||||
|
|
||||||
// Run:
|
// Run:
|
||||||
// gulp sass
|
// gulp sass
|
||||||
// Compiles SCSS files in CSS
|
// Compiles SCSS files in CSS
|
||||||
|
|
|
@ -33,12 +33,9 @@
|
||||||
"font-awesome": "^4.7.0",
|
"font-awesome": "^4.7.0",
|
||||||
"gulp": "3.9.1",
|
"gulp": "3.9.1",
|
||||||
"gulp-clean-css": "^3.9.2",
|
"gulp-clean-css": "^3.9.2",
|
||||||
"gulp-clone": "2.0.1",
|
|
||||||
"gulp-concat": "^2.6.1",
|
"gulp-concat": "^2.6.1",
|
||||||
"gulp-cssnano": "^2.1.2",
|
|
||||||
"gulp-ignore": "^2.0.2",
|
"gulp-ignore": "^2.0.2",
|
||||||
"gulp-imagemin": "^4.1.0",
|
"gulp-imagemin": "^4.1.0",
|
||||||
"gulp-merge": "^0.1.1",
|
|
||||||
"gulp-plumber": "^1.2.0",
|
"gulp-plumber": "^1.2.0",
|
||||||
"gulp-rename": "^1.2.2",
|
"gulp-rename": "^1.2.2",
|
||||||
"gulp-replace": "1.0.0",
|
"gulp-replace": "1.0.0",
|
||||||
|
@ -48,7 +45,6 @@
|
||||||
"gulp-sourcemaps": "2.6.4",
|
"gulp-sourcemaps": "2.6.4",
|
||||||
"gulp-uglify": "^3.0.0",
|
"gulp-uglify": "^3.0.0",
|
||||||
"gulp-watch": "5.0.1",
|
"gulp-watch": "5.0.1",
|
||||||
"merge2": "^1.2.1",
|
|
||||||
"run-sequence": "^2.2.1",
|
"run-sequence": "^2.2.1",
|
||||||
"undescores-for-npm": "^1.0.0",
|
"undescores-for-npm": "^1.0.0",
|
||||||
"gulp-autoprefixer": "6.0.0"
|
"gulp-autoprefixer": "6.0.0"
|
||||||
|
|
Reference in New Issue