Package.describe({
    name: "areich:machina",
    version: "0.1.1",
    summary: "A Meteor library for creating workflow through powerful and flexible finite state machines.",
    git: "https://github.com/alexreich/meteor-machina"
});

Npm.depends({
    'machina': '0.3.8'
});

Package.on_use(function (api) {
    api.use(['stevezhu:lodash@1.0.2'])

    api.add_files([".npm/package/node_modules/machina/lib/machina.js"], ["client"]);
    api.add_files(["machina-server.js"],                                ["server"]);

    if(api.export)
        api.export('machina','server')
});

Package.on_test(function(api){

    api.use(['underscore'])
    api.use(['tinytest','test-helpers'])

    api.add_files([".npm/package/node_modules/machina/lib/machina.js"], ["client"]);
    api.add_files(["machina-server.js"],                                ["server"]);

});

Package.describe({
    name: "areich:machina",
    version: "0.1.1",
    summary: "A Meteor library for creating workflow through powerful and flexible finite state machines.",
    git: "https://github.com/alexreich/meteor-machina"
});

Npm.depends({
    'machina': '1.0.0-1'
});

Package.on_use(function (api) {
    api.use(['stevezhu:lodash@1.0.2'])

    api.add_files([".npm/package/node_modules/machina/lib/machina.js"], ["client"]);
    api.add_files(["machina-server.js"],                                ["server"]);

    if(api.export)
        api.export('machina','server')
});

Package.on_test(function(api){

    api.use(['underscore'])
    api.use(['tinytest','test-helpers'])

    api.add_files([".npm/package/node_modules/machina/lib/machina.js"], ["client"]);
    api.add_files(["machina-server.js"],                                ["server"]);

});

Update npm depends