fabricio

0.1.6 • Public • Published

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) {
 
});

Readme

Keywords

Package Sidebar

Install

npm i fabricio

Weekly Downloads

4

Version

0.1.6

License

none

Last publish

Collaborators

  • jstrimpel