Nachos Preventing Motivation

    gulp-depsort

    1.1.1 • Public • Published

    gulp-depsort

    NPM version Build Status Code Climate Dependency Status

    sort a set of files based in their internal references to each other

    Installation

    $ npm install --save gulp-depsort
    

    Usage

    In your gulpfile:

    var depsort = require('gulp-depsort');
    
    gulp.task('compile', function () {
      gulp.src('src/*.html')
        .pipe(depsort())
        .pipe(compileAndConcatTask())
        .pipe(gulp.dest('build'));
    });
    

    Options

    Override sorting function

    depsort({
      'sort': function (files) {
        //sort the array of files
        return files;
      }
    });
    

    Stuff

    Changelog

    • 1.0.0
      • Initial release, ported from <bap> project
    • 1.1.0
      • Added unit tests
      • Fixed regexp to ignore false positives
    • 1.1.1
      • Added readme banners for CI status, code quality, up-to-date dependencies

    Install

    npm i gulp-depsort

    DownloadsWeekly Downloads

    0

    Version

    1.1.1

    License

    MIT

    Last publish

    Collaborators

    • adamrenklint