2
0

package.js 679 B

123456789101112131415161718192021222324
  1. // Source: https://github.com/chjj/marked
  2. Package.describe({
  3. name: 'wekan-markdown',
  4. summary: "GitHub flavored markdown parser for Meteor based on marked.js",
  5. version: "1.0.7",
  6. git: "https://github.com/wekan/markdown.git"
  7. });
  8. // Before Meteor 0.9?
  9. if(!Package.onUse) Package.onUse = Package.on_use;
  10. Package.onUse(function (api) {
  11. if(api.versionsFrom) api.versionsFrom('METEOR@0.9.0');
  12. api.use('templating');
  13. api.add_files('marked/lib/marked.js', ['server', 'client']);
  14. api.add_files('markdown.js', ['server', 'client']);
  15. api.export('Markdown', ['server', 'client']);
  16. api.use("ui", "client", {weak: true});
  17. api.add_files("template-integration.js", "client");
  18. });