0.4.3 • Published 8 years ago

gulp-task-runner v0.4.3

Weekly downloads
-
License
MIT
Repository
-
Last release
8 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

8 years ago

0.4.2

8 years ago

0.4.1

8 years ago

0.4.0

8 years ago

0.3.9

8 years ago

0.3.8

8 years ago

0.3.7

8 years ago

0.3.6

8 years ago

0.3.5

8 years ago

0.3.4

8 years ago

0.3.3

8 years ago

0.3.2

8 years ago

0.3.1

8 years ago

0.3.0

8 years ago

0.2.9

8 years ago

0.2.8

8 years ago

0.2.7

8 years ago

0.2.6

8 years ago

0.2.5

8 years ago

0.2.4

8 years ago

0.2.3

8 years ago

0.2.2

8 years ago

0.2.1

8 years ago

0.2.0

8 years ago

0.1.9

8 years ago

0.1.8

8 years ago

0.1.7

8 years ago

0.1.6

8 years ago

0.1.5

8 years ago

0.1.4

8 years ago

0.1.3

8 years ago

0.1.2

8 years ago

0.1.1

8 years ago

0.1.0

8 years ago

0.0.9

8 years ago

0.0.8

8 years ago

0.0.7

8 years ago

0.0.6

8 years ago

0.0.5

8 years ago

0.0.4

8 years ago

0.0.3

8 years ago

0.0.2

8 years ago

0.0.1

8 years ago