Created
April 8, 2014 05:45
-
-
Save featzima/10095029 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"name": "gulp-test", | |
"version": "0.0.0", | |
"authors": [ | |
"featZima <featzima@gmail.com>" | |
], | |
"license": "MIT", | |
"ignore": [ | |
"**/.*", | |
"node_modules", | |
"bower_components", | |
"test", | |
"tests" | |
] | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var Combine = require('stream-combiner'), | |
gulp = require('gulp'), | |
gutil = require('gulp-util'), | |
plumber = require('gulp-plumber'), | |
sass = require('gulp-ruby-sass'), | |
gulpFilter = require('gulp-filter'), | |
watch = require('gulp-watch'); | |
gulp.task('sass', function () { | |
gulp.src('css/*.scss') | |
.pipe(watch()) | |
.pipe(plumber({errorHandler: function (err) { | |
gutil.beep(); | |
}})) | |
.pipe(sass()) | |
.pipe(gulpFilter('*.css')) | |
.pipe(gulp.dest('css/')); | |
}); | |
gulp.task('default', ['sass'], function () { | |
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"name": "gulp-test", | |
"version": "0.0.0", | |
"description": "", | |
"main": "index.js", | |
"scripts": { | |
"test": "echo \"Error: no test specified\" && exit 1" | |
}, | |
"author": [ | |
"featZima <featzima@gmail.com>" | |
], | |
"license": "BSD-2-Clause", | |
"dependencies": { | |
"gulp": "~3.6.0", | |
"gulp-ruby-sass": "~0.4.1", | |
"stream-combiner": "0.0.4", | |
"gulp-util": "~2.2.14", | |
"gulp-plumber": "~0.5.6", | |
"gulp-filter": "~0.3.1", | |
"gulp-watch": "~0.5.3" | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment