Skip to content

Commit

Permalink
fix: missing dependency in less task
Browse files Browse the repository at this point in the history
  • Loading branch information
Florens Verschelde committed Dec 7, 2016
1 parent ff49706 commit eb2b61c
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 7 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ A collection of configurable [gulp](http://gulpjs.com/) tasks we use to build fr
- [Using tasks](#using-tasks)
- [Enable system notifications](#enable-system-notifications)
- Built-in tasks:
- [less](doc/task-less.md) (LESS and Autoprefixer)
- [less](doc/task-less.md) (Less and Autoprefixer)
- [sass](doc/task-sass.md) (Sass and Autoprefixer)
- [svgsymbols](doc/task-svgsymbols.md) (SVG symbol sprites)
- [jsconcat](doc/task-jsconcat.md) (Concatenate and minify JS scripts)
Expand Down
6 changes: 3 additions & 3 deletions assets-builder/tasks/less.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/**
* @file LESS + Autoprefixer
* @file Less + Autoprefixer
*/
'use strict'

Expand All @@ -10,9 +10,9 @@ const tools = require('../tasktools.js')
const autoprefixer = require('gulp-autoprefixer');

/**
* Build one or more LESS stylesheets
* Build one or more Less stylesheets
* @param {Object} conf
* @property {Array|string} conf.src - glob patterns of LESS files to build
* @property {Array|string} conf.src - glob patterns of Less files to build
* @property {string} conf.dest - output folder or file name
* @property {string} conf.browsers - Autoprefixer browser compat
* @property {Array} conf.includePaths - Folders to look for '@import's in
Expand Down
1 change: 1 addition & 0 deletions assets-builder/tasks/less.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
{
"dependencies": {
"gulp-autoprefixer": "^3.1",
"gulp-less": "^3.3"
}
}
4 changes: 2 additions & 2 deletions doc/task-less.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
# Task: compile LESS with Autoprefixer
# Task: compile Less with Autoprefixer

- Config key: `less`
- Source: `assets-builder/tasks/less.js`

Compile with gulp-less and run through Autoprefixer. Optionally concatenates files.
Compile with Less and run through Autoprefixer. Optionally concatenates files.

## Options

Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "assets-builder",
"private": true,
"version": "3.0.0",
"version": "3.0.1",
"scripts": {
"build": "gulp build",
"watch": "gulp watch"
Expand Down

0 comments on commit eb2b61c

Please sign in to comment.