1.1.4 • Published 10 years ago

gulp-all-tasks v1.1.4

Weekly downloads
1
License
MIT
Repository
github
Last release
10 years ago

gulp-all-tasks

Gitter(https://badges.gitter.im/Join Chat.svg)

Gulpjs

Installation

npm install gulp-all-tasks --save-dev

Features

You can install any plugin and this module you can convert the name to a function within gulp, For example, if you install grunt-uglify you can use it inside grunt as grunt_uglify()

Example

- npm install gulp-uglify --save-dev
- npm install gulp-concat --save-dev
var gulp = require('gulp');
require('gulp-all-tasks')();

gulp.task('default', function(){
	gulp.src('src/*.js')
		.pipe(gulp_uglify())
		.pipe(gulp.dest('dest'));
});

gulp.task('concat', function() {
  return gulp.src('./lib/*.js')
    .pipe(gulp_concat('all.js'))
    .pipe(gulp.dest('./dist/'));
});

Load all task by other package.json file?

var gulp = require('gulp');
require('gulp-all-tasks')({package:'other/package/file'});

Load all task by other prefix?

var gulp = require('gulp');
require('gulp-all-tasks')({prefix:['other-*','@*/other-*']});

Load all task by other scope?

var gulp = require('gulp');
require('gulp-all-tasks')({dependencies:['dependencies', 'otherScope']});

Want to contribute?

All help are more than welcome!

Pre-requesites

Development Workflow

  1. Fork this respository.
  2. Clone your fork and create a feature branch from develop. git clone git@github.com:/grunt-all-tasks.git git fetch origin git checkout dev git checkout -b feature-<new_feature>
  3. Install development dependencies. npm install
  4. Code and be happy!
  5. Test your code using Mocha.
  6. Submit a pull request and thanks.

Questions? Hit me.

Tests

To run all tests:

npm test

Credits

gulp-all-tasks was created by Joel A. Jaime for the world.

1.1.4

10 years ago

1.1.3

10 years ago

1.1.2

10 years ago

1.1.1

10 years ago

1.1.0

10 years ago

1.0.0

10 years ago