2015-04-22 07:50:11 +09:00
|
|
|
Package.describe({
|
|
|
|
name: "telescope:posts",
|
|
|
|
summary: "Telescope posts package",
|
|
|
|
version: "0.1.2",
|
|
|
|
git: "https://github.com/TelescopeJS/telescope-posts.git"
|
|
|
|
});
|
|
|
|
|
|
|
|
Package.onUse(function (api) {
|
|
|
|
|
|
|
|
api.versionsFrom(['METEOR@1.0']);
|
|
|
|
|
|
|
|
api.use([
|
2015-04-22 08:13:43 +09:00
|
|
|
'telescope:lib@0.3.0',
|
2015-04-25 13:03:04 +09:00
|
|
|
'telescope:i18n@0.1.0',
|
2015-04-22 16:26:01 +09:00
|
|
|
'telescope:settings@0.1.0',
|
2015-04-22 08:13:43 +09:00
|
|
|
'telescope:users@0.1.0',
|
2015-04-22 16:26:01 +09:00
|
|
|
'telescope:comments@0.1.0'
|
2015-04-22 07:50:11 +09:00
|
|
|
]);
|
|
|
|
|
2015-05-01 18:22:00 +02:00
|
|
|
api.addFiles([
|
2015-04-22 07:50:11 +09:00
|
|
|
'lib/posts.js',
|
|
|
|
'lib/config.js',
|
|
|
|
'lib/helpers.js',
|
2015-04-23 17:45:37 +09:00
|
|
|
'lib/modules.js',
|
2015-04-23 15:42:05 +09:00
|
|
|
'lib/callbacks.js',
|
2015-04-22 08:13:43 +09:00
|
|
|
'lib/methods.js',
|
|
|
|
'lib/routes.js'
|
2015-04-22 07:50:11 +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/after_post_item.html',
|
|
|
|
'lib/client/templates/before_post_item.html',
|
|
|
|
'lib/client/templates/modules/post_actions.html',
|
|
|
|
'lib/client/templates/modules/post_actions.js',
|
|
|
|
'lib/client/templates/modules/post_admin.html',
|
|
|
|
'lib/client/templates/modules/post_admin.js',
|
|
|
|
'lib/client/templates/modules/post_author.html',
|
|
|
|
'lib/client/templates/modules/post_avatars.html',
|
|
|
|
'lib/client/templates/modules/post_avatars.js',
|
|
|
|
'lib/client/templates/modules/post_comments_link.html',
|
|
|
|
'lib/client/templates/modules/post_content.html',
|
|
|
|
'lib/client/templates/modules/post_content.js',
|
|
|
|
'lib/client/templates/modules/post_discuss.html',
|
|
|
|
'lib/client/templates/modules/post_domain.html',
|
|
|
|
'lib/client/templates/modules/post_domain.js',
|
|
|
|
'lib/client/templates/modules/post_info.html',
|
|
|
|
'lib/client/templates/modules/post_info.js',
|
|
|
|
'lib/client/templates/modules/post_rank.html',
|
|
|
|
'lib/client/templates/modules/post_rank.js',
|
|
|
|
'lib/client/templates/modules/post_title.html',
|
|
|
|
'lib/client/templates/modules/post_title.js',
|
|
|
|
'lib/client/templates/modules/post_upvote.html',
|
|
|
|
'lib/client/templates/modules/post_upvote.js',
|
|
|
|
'lib/client/templates/post_body.html',
|
|
|
|
'lib/client/templates/post_edit.html',
|
|
|
|
'lib/client/templates/post_edit.js',
|
|
|
|
'lib/client/templates/post_item.html',
|
|
|
|
'lib/client/templates/post_item.js',
|
|
|
|
'lib/client/templates/post_list_top.html',
|
|
|
|
'lib/client/templates/post_list_top.js',
|
|
|
|
'lib/client/templates/post_page.html',
|
|
|
|
'lib/client/templates/post_page.js',
|
|
|
|
'lib/client/templates/post_submit.html',
|
|
|
|
'lib/client/templates/post_submit.js',
|
|
|
|
'lib/client/templates/post_views_nav.html',
|
|
|
|
'lib/client/templates/post_view_nav.js',
|
2015-05-02 11:46:36 +09:00
|
|
|
'lib/client/templates/posts_list/posts_list.html',
|
|
|
|
'lib/client/templates/posts_list/posts_list.js',
|
|
|
|
'lib/client/templates/posts_list/posts_list_controller.html',
|
2015-05-02 13:44:41 +09:00
|
|
|
'lib/client/templates/posts_list/posts_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:11 +09:00
|
|
|
'lib/server/publications.js'
|
|
|
|
], ['server']);
|
|
|
|
|
|
|
|
api.export('Posts');
|
|
|
|
|
|
|
|
});
|