Skip to content

Resolves Lazo node module dependencies that are not Lazo entities based on package.json meta data.

License

Notifications You must be signed in to change notification settings

lazojs/fabricio

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Build Status

fabricio

Oh, snap! It's our rival gang!

Resolves Lazo node module dependencies that are not Lazo application packages based on package.json lazo meta data.

// package.json snippet
{
    "dependencies": {
        "moment": "2.0.0"
    }
    "lazo": {
        "dependencies": {
            "moment": [{
                "install": "common", // install location; app/moment/index.js
                "moduleId": "moment", // optional; module id for rjs conf; in this case it would map to app/moment/index
                "conf": {}, // optional; rjs conf to be merged with app dist
                "main": "index" // optional; module main; default is package.json main
            }]
        }
    }
}

Usage

var fabricio = require('fabricio');

// arguments
// 1. lazo modules to scan; data format is
//    https://github.com/lazojs/crushinator return value
// 2. options
// 3. callback
fabricio(data, {}, function (err, modules) {

});

About

Resolves Lazo node module dependencies that are not Lazo entities based on package.json meta data.

Resources

License

Stars

Watchers

Forks

Packages

No packages published