Vulcan/packages/telescope-daily/package.js

46 lines
1,007 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',
2014-11-27 17:25:01 +05:30
'iron:router',
2014-11-20 14:56:29 +09:00
'meteorhacks:fast-render',
'meteorhacks:subs-manager',
2014-12-08 11:15:20 +09:00
'tap:i18n',
2015-01-09 16:05:00 +09:00
'telescope-singleday',
'fourseven:scss'
2014-11-20 14:56:29 +09:00
], ['client', 'server']);
2014-08-27 09:24:37 +09:00
api.use([
'jquery',
'underscore',
'templating'
], 'client');
2014-11-20 14:56:29 +09:00
api.add_files([
'package-tap.i18n',
2014-11-27 17:25:01 +05:30
'lib/daily.js',
'lib/routes.js',
2014-11-20 14:56:29 +09:00
], ['client', 'server']);
2014-08-27 09:24:37 +09:00
api.add_files([
'lib/client/templates/posts_daily.html',
'lib/client/templates/after_day.html',
'lib/client/templates/before_day.html',
2014-08-27 09:24:37 +09:00
'lib/client/templates/posts_daily.js',
2015-01-09 16:05:00 +09:00
'lib/client/stylesheets/daily.scss',
2014-08-27 09:24:37 +09:00
], ['client']);
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
});