2015-04-22 07:50:26 +09:00
|
|
|
Package.describe({
|
|
|
|
name: "telescope:comments",
|
|
|
|
summary: "Telescope comments package",
|
2015-12-30 15:47:46 +09:00
|
|
|
version: "0.25.7",
|
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-12-30 15:47:46 +09:00
|
|
|
'telescope:lib@0.25.7',
|
2016-02-16 15:40:37 +09:00
|
|
|
// 'telescope:i18n@0.25.7',
|
2015-12-30 15:47:46 +09:00
|
|
|
'telescope:settings@0.25.7',
|
|
|
|
'telescope:users@0.25.7'
|
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',
|
2016-02-16 15:40:37 +09:00
|
|
|
// 'lib/methods.js',
|
|
|
|
// 'lib/callbacks.js',
|
|
|
|
// 'lib/views.js',
|
|
|
|
// 'lib/parameters.js',
|
|
|
|
// 'lib/helpers.js',
|
|
|
|
// 'lib/routes.js'
|
2015-04-22 07:50:26 +09:00
|
|
|
], ['client', 'server']);
|
|
|
|
|
2015-05-01 18:22:00 +02:00
|
|
|
api.addFiles([
|
2016-02-16 15:40:37 +09:00
|
|
|
// 'lib/client/templates/comment_edit.html',
|
|
|
|
// 'lib/client/templates/comment_edit.js',
|
|
|
|
// 'lib/client/templates/comment_submit.html',
|
|
|
|
// 'lib/client/templates/comment_submit.js',
|
|
|
|
// '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',
|
|
|
|
// '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',
|
|
|
|
// '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([
|
2016-02-16 15:40:37 +09:00
|
|
|
// 'lib/server/publications.js',
|
2015-04-22 07:50:26 +09:00
|
|
|
], ['server']);
|
|
|
|
|
2016-02-16 15:40:37 +09:00
|
|
|
// var languages = ["ar", "bg", "cs", "da", "de", "el", "en", "es", "et", "fr", "hu", "id", "it", "ja", "kk", "ko", "nl", "pl", "pt-BR", "ro", "ru", "sl", "sv", "th", "tr", "vi", "zh-CN"];
|
|
|
|
// 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
|
|
|
|
|
|
|
});
|