Final automatizer

Now we have to gather all our previously created tasks into one file. The core of the gulp project is two files: package.json, which gathers all project dependencies, and gulpfile, in which you can store all tasks. Here are the tasks:

File name is: package.json

{
 "name": "automatizer",
 "version": "1.0.0",
 "description": "CSS automatizer",
 "main": "gulpfile.js",
 "author": "Piotr Sikora",
 "license": "ISC",
 "dependencies": {
   "gulp": "latest",
   "gulp-clean-css": "latest",
   "gulp-jade": "latest",
   "gulp-rimraf": "latest",
   "gulp-sass": "latest",
   "gulp-uncss": "latest",
   "gulp-util": "latest",
   "rimraf": "latest"
 }
}

File name is: gulpfile.json

var gulp = require('gulp'), sass = require('gulp-sass'), jade = require('gulp-jade'), gutil = require('gulp-util'), ...

Get Professional CSS3 now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.