Skip to content

Instantly share code, notes, and snippets.

@featzima
Created April 8, 2014 05:45
Show Gist options
  • Save featzima/10095029 to your computer and use it in GitHub Desktop.
Save featzima/10095029 to your computer and use it in GitHub Desktop.
{
"name": "gulp-test",
"version": "0.0.0",
"authors": [
"featZima <featzima@gmail.com>"
],
"license": "MIT",
"ignore": [
"**/.*",
"node_modules",
"bower_components",
"test",
"tests"
]
}
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 () {
});
{
"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