2014-12-13 22:55:10 +08:00
|
|
|
Package.describe({
|
|
|
|
summary: 'Auto post via RSS to Telescope',
|
|
|
|
version: '0.0.1',
|
2014-12-18 10:47:37 +09:00
|
|
|
name: 'telescope-post-by-feed'
|
2014-12-13 22:55:10 +08:00
|
|
|
});
|
|
|
|
|
|
|
|
Npm.depends({
|
2015-03-16 20:02:33 +08:00
|
|
|
'feedparser': '1.0.0',
|
2014-12-18 16:01:18 +09:00
|
|
|
'to-markdown': '0.0.2',
|
|
|
|
'he': '0.5.0'
|
2014-12-13 22:55:10 +08:00
|
|
|
});
|
|
|
|
|
|
|
|
Package.onUse(function(api) {
|
|
|
|
|
|
|
|
api.use([
|
2015-03-16 20:02:33 +08:00
|
|
|
'telescope-base',
|
2015-02-09 18:39:50 +00:00
|
|
|
'telescope-tags',
|
2014-12-13 22:55:10 +08:00
|
|
|
'aldeed:simple-schema',
|
2014-12-19 14:32:25 +09:00
|
|
|
'aldeed:autoform',
|
|
|
|
'tap:i18n',
|
2015-01-05 09:56:02 +09:00
|
|
|
'fourseven:scss',
|
2014-12-13 22:55:10 +08:00
|
|
|
], ['client', 'server']);
|
|
|
|
|
|
|
|
api.use([
|
|
|
|
'iron:router',
|
|
|
|
'templating'
|
|
|
|
], 'client');
|
|
|
|
|
|
|
|
api.use([
|
|
|
|
'http',
|
|
|
|
'mrt:moment',
|
|
|
|
'percolatestudio:synced-cron'
|
|
|
|
], 'server');
|
|
|
|
|
|
|
|
api.add_files([
|
2014-12-18 16:01:18 +09:00
|
|
|
'lib/feeds.js'
|
2014-12-13 22:55:10 +08:00
|
|
|
], ['client', 'server']);
|
|
|
|
|
|
|
|
api.add_files([
|
|
|
|
'lib/client/routes.js',
|
2014-12-19 14:32:25 +09:00
|
|
|
'lib/client/scss/feeds.scss',
|
2014-12-18 16:01:18 +09:00
|
|
|
'lib/client/templates/feeds.js',
|
|
|
|
'lib/client/templates/feeds.html',
|
|
|
|
'lib/client/templates/feed_item.js',
|
|
|
|
'lib/client/templates/feed_item.html',
|
2014-12-13 22:55:10 +08:00
|
|
|
], 'client');
|
|
|
|
|
|
|
|
api.add_files([
|
2014-12-18 16:01:18 +09:00
|
|
|
'lib/server/fetch_feeds.js',
|
2014-12-13 22:55:10 +08:00
|
|
|
'lib/server/cron.js',
|
|
|
|
'lib/server/publications.js'
|
|
|
|
], ['server']);
|
|
|
|
|
|
|
|
api.add_files([
|
|
|
|
"i18n/en.i18n.json"
|
|
|
|
], ["client", "server"]);
|
2014-12-19 14:32:25 +09:00
|
|
|
|
|
|
|
api.export([
|
|
|
|
'Feeds'
|
|
|
|
]);
|
2014-12-13 22:55:10 +08:00
|
|
|
});
|
|
|
|
|
|
|
|
Package.onTest(function(api) {
|
|
|
|
api.use('tinytest');
|
|
|
|
});
|