1.2.4 • Published 8 years ago

mip-builder v1.2.4

Weekly downloads
2
License
MIT
Repository
github
Last release
8 years ago

mip-builder

Builder for MIP and MIP Extension

Usage

(new Builder(options)).build()

var Builder = require('mip-builder');

var builder = new Builder({
    dir: '/your/build/root',
    outputDir: '/your/output/target/directory',

    files: [
        // bla bla
    ],

    processor: [
        // bla bla
    ]
});

builder.build();

API

options

dir

string

The directory which you want to build.

outputDir

string

Output target directory for build result.

files

Array.<string>

Selectors for select which file should be do building.

processors

Array.<Processor|Object>

Processors, each one will apply to all files by default.

methods

prepare

'arguments': none

return: Promise

description: load all files

process

'arguments': none

return: Promise

description: do process for all files. this method must call after prepare resolved.

output

'arguments': none

return: Promise

description: generate all files to outputDir.

1.2.4

8 years ago

1.2.3

8 years ago

1.2.2

8 years ago

1.2.1

8 years ago

1.2.0

8 years ago

1.1.2

8 years ago

1.1.1

8 years ago

1.1.0

8 years ago

1.1.0-alpha.1

8 years ago

1.0.0-alpha.7

8 years ago

1.0.0-alpha.6

8 years ago

1.0.0-alpha.5

8 years ago

1.0.0-alpha.4

8 years ago

1.0.0-alpha.3

8 years ago

1.0.0-alpha.2

8 years ago

1.0.0-alpha.1

8 years ago

1.0.1

8 years ago

1.0.0

8 years ago