Package.describe({
    name: "froatsnook:bardcode",
    version: "1.1.2",
    summary: "Draw 1-D barcodes (client and server); supports code 128, 3 of 9, 2 of 5, EAN, and more",
    git: "https://github.com/froatsnook/bardcode"
});

Package.onUse(function(api) {
    api.versionsFrom("1.0.3.1");
    api.addFiles("lib/01-bardcode.js");
    api.addFiles("lib/canvas.js");
    api.addFiles("lib/Codabar.js");
    api.addFiles("lib/Code128.js");
    api.addFiles("lib/Code39.js");
    api.addFiles("lib/drawBarcode.js");
    api.addFiles("lib/EAN.js");
    api.addFiles("lib/FIM.js");
    api.addFiles("lib/ITF.js");
    api.addFiles("lib/svg.js");
    api.addFiles("lib/validations.js");

    api.export("drawBarcode");
    api.export("bardcode");
});

Package.onTest(function(api) {
    Npm.depends({
        "canvas": "1.2.1"
    });

    api.use("tinytest");
    api.use("froatsnook:stream-to-buffer@1.0.1");
    api.use("froatsnook:bardcode");

    api.addFiles("test/tests.js");
});


Package.describe({
    name: "froatsnook:bardcode",
    version: "1.1.3",
    summary: "Draw 1-D barcodes (client and server); supports code 128, 3 of 9, 2 of 5, EAN, and more",
    git: "https://github.com/froatsnook/bardcode"
});

Package.onUse(function(api) {
    api.versionsFrom("1.0.3.1");
    api.addFiles("lib/01-bardcode.js");
    api.addFiles("lib/canvas.js");
    api.addFiles("lib/Codabar.js");
    api.addFiles("lib/Code128.js");
    api.addFiles("lib/Code39.js");
    api.addFiles("lib/drawBarcode.js");
    api.addFiles("lib/EAN.js");
    api.addFiles("lib/FIM.js");
    api.addFiles("lib/ITF.js");
    api.addFiles("lib/svg.js");
    api.addFiles("lib/validations.js");

    api.export("drawBarcode");
    api.export("bardcode");
});

Package.onTest(function(api) {
    Npm.depends({
        "canvas": "1.2.1"
    });

    api.use("tinytest");
    api.use("froatsnook:stream-to-buffer@1.0.1");
    api.use("froatsnook:bardcode");

    api.addFiles("test/tests.js");
});


Bump version to 1.1.3.