0.0.1 • Published 7 years ago
dagger-tasks v0.0.1
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
Command | Description |
---|---|
gulp | alias for gulp watch |
gulp sass:lint | Lints the Sass files and reports any errors. |
gulp sass:development | Compiles the Sass files using developer-friendly configuration. |
gulp sass:production | Sass files are run through PostCSS processors and minified. |
gulp documentation | Compiles the Sass files then uses mdcss to generate documentation from CSS comments. |
gulp build:production | Runs all production tasks to build production-ready assets. |
gulp watch | Runs gulp sass:development and gulp documentation then watches for changes in the Sass files to recompile when a change is detected. |
0.0.1
7 years ago