Package.describe({
  name: "server-render",
  version: "0.3.0",
  summary: "Generic support for server-side rendering in Meteor apps",
  documentation: "README.md"
});

Npm.depends({
  "combined-stream2": "1.1.2",
  "magic-string": "0.21.3",
  "stream-to-string": "1.1.0",
  "parse5": "3.0.2"
});

Package.onUse(function(api) {
  api.use("ecmascript");
  api.use("webapp");
  api.mainModule("client.js", "client");
  api.mainModule("server.js", "server");
});

Package.onTest(function(api) {
  api.use("ecmascript");
  api.use("tinytest");
  api.use("server-render");
  api.mainModule("server-render-tests.js", "server");
});

Package.describe({
  name: "server-render",
  version: "0.3.1",
  summary: "Generic support for server-side rendering in Meteor apps",
  documentation: "README.md"
});

Npm.depends({
  "combined-stream2": "1.1.2",
  "magic-string": "0.21.3",
  "stream-to-string": "1.1.0",
  "parse5": "3.0.2"
});

Package.onUse(function(api) {
  api.use("ecmascript");
  api.use("webapp");
  api.mainModule("client.js", "client", { lazy: true });
  api.mainModule("server.js", "server");
});

Package.onTest(function(api) {
  api.use("ecmascript");
  api.use("tinytest");
  api.use("server-render");
  api.mainModule("server-render-tests.js", "server");
});

Make meteor/server-render lazy on the client.
Make meteor/server-render lazy on the client.
