2015-04-22 07:50:11 +09:00
|
|
|
Package.describe({
|
|
|
|
name: "telescope:post-by-feed",
|
|
|
|
summary: "Auto post via RSS to Telescope",
|
2015-07-28 11:16:14 +09:00
|
|
|
version: "0.22.2",
|
2015-04-22 07:50:11 +09:00
|
|
|
git: "https://github.com/TelescopeJS/telescope-post-by-feed.git"
|
|
|
|
});
|
|
|
|
|
|
|
|
Npm.depends({
|
|
|
|
'feedparser': '1.0.0',
|
|
|
|
'to-markdown': '0.0.2',
|
|
|
|
'he': '0.5.0',
|
|
|
|
'iconv-lite': '0.4.7'
|
|
|
|
});
|
|
|
|
|
|
|
|
Package.onUse(function(api) {
|
|
|
|
|
|
|
|
api.versionsFrom("METEOR@1.0");
|
|
|
|
|
2015-07-28 11:16:14 +09:00
|
|
|
api.use(['telescope:core@0.22.2']);
|
2015-04-22 07:50:11 +09:00
|
|
|
|
|
|
|
api.addFiles([
|
|
|
|
'lib/feeds.js'
|
|
|
|
], ['client', 'server']);
|
|
|
|
|
|
|
|
api.addFiles([
|
|
|
|
'lib/client/routes.js',
|
|
|
|
'lib/client/scss/feeds.scss',
|
|
|
|
'lib/client/templates/feeds.js',
|
|
|
|
'lib/client/templates/feeds.html',
|
|
|
|
'lib/client/templates/feed_item.js',
|
|
|
|
'lib/client/templates/feed_item.html',
|
|
|
|
], 'client');
|
|
|
|
|
|
|
|
api.addFiles([
|
|
|
|
'lib/server/fetch_feeds.js',
|
|
|
|
'lib/server/cron.js',
|
|
|
|
'lib/server/publications.js'
|
|
|
|
], ['server']);
|
|
|
|
|
|
|
|
api.addFiles([
|
|
|
|
"i18n/en.i18n.json"
|
|
|
|
], ["client", "server"]);
|
|
|
|
|
|
|
|
api.export([
|
|
|
|
'Feeds'
|
|
|
|
]);
|
|
|
|
});
|
|
|
|
|
|
|
|
Package.onTest(function(api) {
|
|
|
|
api.use('tinytest');
|
|
|
|
});
|