Skip to content

Instantly share code, notes, and snippets.

body {
font: 100% Helvetica, sans-serif;
color: #333;
}
@LucasLLLS
LucasLLLS / basicgulpwatch.js
Created July 19, 2016 01:15
Gulp watch exemple
gulp.task('watch', function(){
gulp.watch('js/*.js', ['scripts'])
});
@LucasLLLS
LucasLLLS / basicgulpfile.js
Created July 19, 2016 01:10
Basic gulpfile with uglify
var gulp = require('gulp');
uglify = require('gulp-uglify');
gulp.task('default', function() {
// corpo da tarefa
gulp.src('js/*.js')
.pipe(uglify())
.pipe(gulp.dest('minjs'))
});
@LucasLLLS
LucasLLLS / gulpfile.js
Created July 19, 2016 01:01
Creating a basic gulpfile
var gulp = require('gulp');
gulp.task('nome da tarefa', function(){
//aqui serão inseridos os comandos;
});