0.0.1 • Published 7 years ago

dagger-tasks v0.0.1

Weekly downloads
8
License
MIT
Repository
github
Last release
7 years ago

dagger-tasks

A Gulp pipeline to handle build tasks.

Installation

Install Gulp

npm install -g gulp

Install dagger-tasks

npm install dagger-tasks --save-dev

Create a new gulpfile.js in your project with the following content:

var dagger = require('dagger-tasks');

var settings = {};

dagger(settings);

Gulp Tasks

CommandDescription
gulpalias for gulp watch
gulp sass:lintLints the Sass files and reports any errors.
gulp sass:developmentCompiles the Sass files using developer-friendly configuration.
gulp sass:productionSass files are run through PostCSS processors and minified.
gulp documentationCompiles the Sass files then uses mdcss to generate documentation from CSS comments.
gulp build:productionRuns all production tasks to build production-ready assets.
gulp watchRuns gulp sass:development and gulp documentation then watches for changes in the Sass files to recompile when a change is detected.