2015-04-22 07:50:26 +09:00
|
|
|
Package.describe({
|
|
|
|
name: "telescope:comments",
|
|
|
|
summary: "Telescope comments package",
|
2015-07-28 11:16:14 +09:00
|
|
|
version: "0.22.2",
|
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-07-28 11:16:14 +09:00
|
|
|
'telescope:lib@0.22.2',
|
|
|
|
'telescope:i18n@0.22.2',
|
|
|
|
'telescope:settings@0.22.2',
|
|
|
|
'telescope:users@0.22.2'
|
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-06-19 11:52:57 +09:00
|
|
|
'lib/helpers.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-06-16 16:33:35 +09:00
|
|
|
api.addFiles([
|
|
|
|
"i18n/ar.i18n.json",
|
|
|
|
"i18n/bg.i18n.json",
|
|
|
|
"i18n/de.i18n.json",
|
|
|
|
"i18n/el.i18n.json",
|
|
|
|
"i18n/en.i18n.json",
|
|
|
|
"i18n/es.i18n.json",
|
|
|
|
"i18n/fr.i18n.json",
|
|
|
|
"i18n/it.i18n.json",
|
|
|
|
"i18n/nl.i18n.json",
|
|
|
|
"i18n/pl.i18n.json",
|
|
|
|
"i18n/pt-BR.i18n.json",
|
|
|
|
"i18n/ro.i18n.json",
|
|
|
|
"i18n/ru.i18n.json",
|
2015-06-17 13:22:47 +09:00
|
|
|
"i18n/sv.i18n.json",
|
2015-06-16 16:33:35 +09:00
|
|
|
"i18n/tr.i18n.json",
|
2015-06-17 08:37:54 +09:00
|
|
|
"i18n/vi.i18n.json",
|
2015-06-16 16:33:35 +09:00
|
|
|
"i18n/zh-CN.i18n.json"
|
|
|
|
], ["client", "server"]);
|
2015-06-15 19:05:42 +09:00
|
|
|
|
2015-04-22 08:13:43 +09:00
|
|
|
api.export('Comments');
|
2015-04-22 07:50:26 +09:00
|
|
|
|
|
|
|
});
|