2015-04-22 07:50:26 +09:00
|
|
|
Package.describe({
|
|
|
|
name: "telescope:comments",
|
|
|
|
summary: "Telescope comments package",
|
2015-09-22 16:58:34 +09:00
|
|
|
version: "0.25.0",
|
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-09-22 16:58:34 +09:00
|
|
|
'telescope:lib@0.25.0',
|
|
|
|
'telescope:i18n@0.25.0',
|
|
|
|
'telescope:settings@0.25.0',
|
|
|
|
'telescope:users@0.25.0'
|
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-09-17 14:51:14 +09:00
|
|
|
'lib/client/templates/comment_controller/comment_controller.html',
|
|
|
|
'lib/client/templates/comment_controller/comment_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-08-14 10:40:27 +09:00
|
|
|
var languages = ["ar", "bg", "cs", "da", "de", "el", "en", "es", "et", "fr", "hu", "it", "ja", "ko", "nl", "pl", "pt-BR", "ro", "ru", "sv", "th", "tr", "vi", "zh-CN"];
|
2015-08-14 10:34:21 +09:00
|
|
|
var languagesPaths = languages.map(function (language) {
|
|
|
|
return "i18n/"+language+".i18n.json";
|
|
|
|
});
|
|
|
|
api.addFiles(languagesPaths, ["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
|
|
|
|
|
|
|
});
|