Npm.depends({
    'chai':'1.8.1'
});

Package.describe({
    name: "spacejamio:chai",
    summary: "The Chai Assertion Library, v1.8.1",
    version: "1.0.0",
    git: "https://github.com/spacejamio/meteor-chai.git"
});

Package.onUse(function (api) {
    api.versionsFrom('METEOR@0.9.0');

    api.addFiles(['server.js'], ['server']);
    api.addFiles(['chai.js'], ['client']);
    api.addFiles(['exports.js'], ['client','server']);
    api.export(['chai','assert','expect','should'],['client','server']);
});

Package.onTest(function(api) {
    api.use(['coffeescript', 'tinytest', 'test-helpers', 'spacejamio:chai']);
    api.addFiles(['tests/chai.coffee']);
});

Npm.depends({
    'chai':'1.8.1'
});

Package.describe({
    name: "spacejamio:chai",
    summary: "The Chai Assertion Library, v1.8.1",
    version: "1.0.0",
    git: "https://github.com/spacejamio/meteor-chai.git"
});

Package.onUse(function (api) {
    api.versionsFrom('0.9.0');

    api.addFiles(['server.js'], ['server']);
    api.addFiles(['chai.js'], ['client']);
    api.addFiles(['exports.js'], ['client','server']);
    api.export(['chai','assert','expect','should'],['client','server']);
});

Package.onTest(function(api) {
    api.use(['coffeescript', 'tinytest', 'test-helpers', 'spacejamio:chai']);
    api.addFiles(['tests/chai.coffee']);
});

Update versionsFrom