Vulcan/packages/telescope-daily/package.js

44 lines
938 B
JavaScript
Raw Normal View History

2014-08-27 09:24:37 +09:00
Package.describe({summary: "Telescope daily view"});
2014-08-28 13:39:30 +09:00
Package.onUse(function (api) {
2014-08-27 09:24:37 +09:00
2014-11-20 14:56:29 +09:00
api.use([
'telescope-lib',
'telescope-base',
'meteorhacks:fast-render',
'meteorhacks:subs-manager',
'tap:i18n'
], ['client', 'server']);
2014-08-27 09:24:37 +09:00
api.use([
'jquery',
'underscore',
'iron:router',
2014-08-27 09:24:37 +09:00
'templating'
], 'client');
2014-11-20 14:56:29 +09:00
api.add_files([
'package-tap.i18n',
'lib/daily.js'
], ['client', 'server']);
2014-08-27 09:24:37 +09:00
api.add_files([
'lib/client/routes.js',
'lib/client/templates/posts_daily.html',
'lib/client/templates/posts_daily.js',
2014-08-27 10:23:56 +09:00
'lib/client/stylesheets/daily.css',
2014-08-27 09:24:37 +09:00
], ['client']);
api.add_files(['lib/server/publications.js'], ['server']);
2014-11-20 14:56:29 +09:00
api.add_files([
2014-11-24 11:27:07 +09:00
"i18n/de.i18n.json",
2014-11-20 14:56:29 +09:00
"i18n/en.i18n.json",
2014-11-24 11:27:07 +09:00
"i18n/es.i18n.json",
2014-11-20 14:56:29 +09:00
"i18n/fr.i18n.json",
2014-11-24 11:27:07 +09:00
"i18n/it.i18n.json",
2014-11-24 11:38:57 +09:00
"i18n/zh-CN.i18n.json",
2014-11-20 14:56:29 +09:00
], ["client", "server"]);
2014-08-28 10:16:17 +09:00
api.export(['PostsDailyController']);
2014-08-27 09:24:37 +09:00
});