wekan/packages/markdown/package.js

23 lines
570 B
JavaScript
Raw Normal View History

Package.describe({
name: 'wekan-markdown',
summary: 'GitHub flavored markdown parser for Meteor based on markdown-it',
2020-06-06 11:26:06 +02:00
version: '1.0.9',
git: 'https://github.com/wekan/markdown.git',
});
// Before Meteor 0.9?
if(!Package.onUse) Package.onUse = Package.on_use;
Package.onUse(function (api) {
2020-06-06 11:26:06 +02:00
if(api.versionsFrom) api.versionsFrom('1.8.2');
api.use('templating');
2020-06-06 11:26:06 +02:00
api.use("ecmascript", ['server', 'client']);
api.export('Markdown', ['server', 'client']);
2020-06-06 11:26:06 +02:00
api.use('ui', 'client', {weak: true});
api.add_files('src/template-integration.js', 'client');
});