2015-04-22 07:50:26 +09:00
|
|
|
Package.describe({
|
|
|
|
name: "telescope:comments",
|
|
|
|
summary: "Telescope comments package",
|
2015-06-05 11:39:36 +09:00
|
|
|
version: "0.20.5",
|
2015-04-22 07:50:26 +09:00
|
|
|
git: "https://github.com/TelescopeJS/Telescope.git"
|
|
|
|
});
|
|
|
|
|
|
|
|
Package.onUse(function (api) {
|
|
|
|
|
|
|
|
api.versionsFrom(['METEOR@1.0']);
|
|
|
|
|
|
|
|
api.use([
|
2015-06-05 11:39:36 +09:00
|
|
|
'telescope:lib@0.20.5',
|
|
|
|
'telescope:i18n@0.20.5',
|
|
|
|
'telescope:settings@0.20.5',
|
|
|
|
'telescope:users@0.20.5'
|
2015-04-22 07:50:26 +09:00
|
|
|
]);
|
|
|
|
|
2015-05-01 18:22:00 +02:00
|
|
|
api.addFiles([
|
2015-04-22 07:50:26 +09:00
|
|
|
'lib/comments.js',
|
2015-04-23 16:53:20 +09:00
|
|
|
'lib/methods.js',
|
|
|
|
'lib/callbacks.js',
|
2015-05-08 09:33:27 +09:00
|
|
|
'lib/views.js',
|
|
|
|
'lib/parameters.js',
|
2015-04-23 10:39:37 +09:00
|
|
|
'lib/routes.js'
|
2015-04-22 07:50:26 +09:00
|
|
|
], ['client', 'server']);
|
|
|
|
|
2015-05-01 18:22:00 +02:00
|
|
|
api.addFiles([
|
2015-04-22 12:09:57 +09:00
|
|
|
'lib/client/templates/comment_edit.html',
|
|
|
|
'lib/client/templates/comment_edit.js',
|
2015-04-28 11:32:53 +09:00
|
|
|
'lib/client/templates/comment_submit.html',
|
|
|
|
'lib/client/templates/comment_submit.js',
|
2015-04-22 12:09:57 +09:00
|
|
|
'lib/client/templates/comment_item.html',
|
|
|
|
'lib/client/templates/comment_item.js',
|
|
|
|
'lib/client/templates/comment_list.html',
|
|
|
|
'lib/client/templates/comment_list.js',
|
|
|
|
'lib/client/templates/comment_reply.html',
|
2015-05-08 09:33:27 +09:00
|
|
|
'lib/client/templates/comment_reply.js',
|
|
|
|
'lib/client/templates/comments_list/comments_list.html',
|
|
|
|
'lib/client/templates/comments_list/comments_list.js',
|
|
|
|
'lib/client/templates/comments_list/comments_list_compact.html',
|
|
|
|
'lib/client/templates/comments_list/comments_list_compact.js',
|
|
|
|
'lib/client/templates/comments_list/comments_list_controller.html',
|
|
|
|
'lib/client/templates/comments_list/comments_list_controller.js',
|
2015-04-22 12:09:57 +09:00
|
|
|
], ['client']);
|
|
|
|
|
2015-05-01 18:22:00 +02:00
|
|
|
api.addFiles([
|
2015-04-22 07:50:26 +09:00
|
|
|
'lib/server/publications.js',
|
|
|
|
], ['server']);
|
|
|
|
|
2015-04-22 08:13:43 +09:00
|
|
|
api.export('Comments');
|
2015-04-22 07:50:26 +09:00
|
|
|
|
|
|
|
});
|