Skip to content

alblandino/gulp-all-tasks

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

28 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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 [email protected]:/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.

About

⭐ Plugin to load all plugins in the package.json

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published