Vulcan/packages/telescope-comments/package.js

75 lines
2 KiB
JavaScript
Raw Normal View History

2015-04-22 07:50:26 +09:00
Package.describe({
name: "telescope:comments",
summary: "Telescope comments package",
2015-07-22 15:23:51 +09:00
version: "0.22.1",
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-22 15:23:51 +09:00
'telescope:lib@0.22.1',
'telescope:i18n@0.22.1',
'telescope:settings@0.22.1',
'telescope:users@0.22.1'
2015-04-22 07:50:26 +09:00
]);
api.addFiles([
2015-04-22 07:50:26 +09:00
'lib/comments.js',
'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']);
api.addFiles([
'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',
], ['client']);
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
api.export('Comments');
2015-04-22 07:50:26 +09:00
});