0.4.3 • Published 9 years ago

gulp-task-runner v0.4.3

Weekly downloads
-
License
MIT
Repository
-
Last release
9 years ago

gulp-task-runner

npm version

gulp-task-runner registers the following tasks to gulp:

Examples

example/src/homepage/gulpfile.babel.js

/**
 *
 * @file
 *     gulpfile.babel.js
 *
 */
'use strict';

var config = {
    localhost : 'localhost/build/',
    buildPath : '../../build',
    sitemap   : {
        url : 'https://example.com'
    },
    browser   : 'Google Chrome',
    contents  : [
        'index',
        'report',
        {
            'report' : [
                'report01',
                {
                    'report02' : [
                        'details01',
                        'details02'
                    ]
                }
            ],
        },
        'plan',
        {
            'plan' : [
                'plan01',
                'plan02'
            ]
        },
        'about',
    ],
    watches  : [
        {
            srcs  : [
                        'html/_header.html',
                        'html/_footer.html',
                    ],
            tasks : [ 'index.html', 'about.html', 'plan01.html', 'plan02.html' ]
        },
    ]
};

import { GulpTaskRunner } from '../../../src/gulp-task-runner';
var gulpTaskRunner = new GulpTaskRunner( config );

html directory:

.
├── _footer.html
├── _header.html
├── about.html
├── plan.html
├── plan___01.html
├── plan___02.html
├── report.html
├── report___01.html
├── report___01___details.html
├── report___02.html
└── index.html

generates

├── about
│   └── index.html
├── index.html
├── plan
│   ├── 01
│   │   └── index.html
│   ├── 02
│   │   └── index.html
│   └── index.html
├── report
│   ├── 01
│   │   ├── details
│   │   │   └── index.html
│   │   └── index.html
│   ├── 02
│   │   └── index.html
│   └── index.html
├── sitemap.xml

in examples/build directory.

0.4.3

9 years ago

0.4.2

9 years ago

0.4.1

9 years ago

0.4.0

9 years ago

0.3.9

9 years ago

0.3.8

9 years ago

0.3.7

9 years ago

0.3.6

9 years ago

0.3.5

9 years ago

0.3.4

9 years ago

0.3.3

9 years ago

0.3.2

9 years ago

0.3.1

9 years ago

0.3.0

9 years ago

0.2.9

9 years ago

0.2.8

9 years ago

0.2.7

9 years ago

0.2.6

9 years ago

0.2.5

9 years ago

0.2.4

9 years ago

0.2.3

9 years ago

0.2.2

9 years ago

0.2.1

9 years ago

0.2.0

9 years ago

0.1.9

9 years ago

0.1.8

10 years ago

0.1.7

10 years ago

0.1.6

10 years ago

0.1.5

10 years ago

0.1.4

10 years ago

0.1.3

10 years ago

0.1.2

10 years ago

0.1.1

10 years ago

0.1.0

10 years ago

0.0.9

10 years ago

0.0.8

10 years ago

0.0.7

10 years ago

0.0.6

10 years ago

0.0.5

10 years ago

0.0.4

10 years ago

0.0.3

10 years ago

0.0.2

10 years ago

0.0.1

10 years ago