Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/mahmoudahmadosman/gulpjs-project

Gulp.js small project
https://github.com/mahmoudahmadosman/gulpjs-project

css3 gulpjs html5 javascript sass

Last synced: about 1 month ago
JSON representation

Gulp.js small project

Awesome Lists containing this project

README

        

# Gulpjs Project
Gulp.js demo project

```bash

const gulp = require('gulp'),
concat = require('gulp-concat'),
autoprefixer = require('gulp-autoprefixer'),
sass = require('gulp-sass'),
sass = require('gulp-pug'),
notify = require("gulp-notify"),
watch = require('gulp-watch'),
uglify = require('gulp-uglify'),
zip = require('gulp-zip');

gulp.task('sass-files', function () {
return gulp.src('project/css/main.scss')
.pipe(sass())
.pipe(uglify())
.pipe(autoprefixer ('last 2 versions'))
.pipe(concat('main.css'))
.pipe(gulp.dest('dist/css'))
});

```