Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/filipelinhares/gulp-sublime-snippets

Gulp snippets for Sublime Text
https://github.com/filipelinhares/gulp-sublime-snippets

Last synced: 28 days ago
JSON representation

Gulp snippets for Sublime Text

Awesome Lists containing this project

README

        

# ***[Atenction]***
## This project now is merged with [Sublime Gulp](https://github.com/NicoSantangelo/sublime-gulp)

#[Gulp](http:www.gulpjs.com) Snippets for Sublime Text

![Gulp Snippets](https://imagizer.imageshack.us/v2/800x307q90/842/1dl6.jpg)

##Even more. Speed. Efficiency. Simplicity.

###vargulp
`var gulp = require('gulp-name');`

###pipe
`.pipe(name('file'))`

###gulps - [Docs](https://github.com/gulpjs/gulp/blob/master/docs/API.md#gulpsrcglobs-options)
```
gulp.src('scriptFiles')
.pipe(name('file'))
```

###gulpt - [Docs](https://github.com/gulpjs/gulp/blob/master/docs/API.md#gulptaskname-deps-fn)
```
gulp.task('name',['tasks'], function() {
// content
});
```

###gulpd - [Docs](https://github.com/gulpjs/gulp/blob/master/docs/API.md#gulpdestpath)
```
.pipe(gulp.dest('folder'));
```

###gulpw - [Docs](https://github.com/gulpjs/gulp/blob/master/docs/API.md#gulpwatchglob-opts-tasks)
`gulp.watch('file', ['tasks']);`

###gulpwcb - [Docs](https://github.com/gulpjs/gulp/blob/master/docs/API.md#gulpwatchglob-opts-cb)
```
gulp.watch('file', function(event) {
console.log(' File '+event.path+' was '+event.type+', running tasks...');
});
```

#####Update - Just Remove and Install again.