Package.describe({
  summary: "A minimalist client-side MVC framework"
});

Package.on_use(function (api) {
  // XXX Backbone requires either jquery or zepto
  api.use("jquery");

  api.add_files("backbone.js", "client");
});

Package.describe({
  summary: "A minimalist client-side MVC framework"
});

Package.on_use(function (api, where) {
  // XXX Backbone requires either jquery or zepto
  api.use(["jquery", "json"]);

  where = where || ['client', 'server'];
  api.add_files("backbone.js", where);
});

Allow backbone on the server also.
Allow backbone on the server also.

Also, add json dependency.
