2015-04-22 07:50:11 +09:00
|
|
|
Package.describe({
|
|
|
|
name: "telescope:daily",
|
|
|
|
summary: "Telescope daily view",
|
2015-07-28 11:16:14 +09:00
|
|
|
version: "0.22.2",
|
2015-05-16 12:05:53 +09:00
|
|
|
git: "https://github.com/TelescopeJS/Telescope.git"
|
2015-04-22 07:50:11 +09:00
|
|
|
});
|
|
|
|
|
|
|
|
Package.onUse(function (api) {
|
|
|
|
|
|
|
|
api.versionsFrom(['METEOR@1.0']);
|
|
|
|
|
|
|
|
api.use([
|
2015-07-28 11:16:14 +09:00
|
|
|
'telescope:core@0.22.2',
|
|
|
|
'telescope:singleday@0.22.2',
|
2015-04-22 16:52:42 +09:00
|
|
|
]);
|
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
|
|
|
'package-tap.i18n',
|
|
|
|
'lib/daily.js',
|
|
|
|
'lib/routes.js',
|
|
|
|
], ['client', 'server']);
|
|
|
|
|
2015-05-01 18:22:00 +02:00
|
|
|
api.addFiles([
|
2015-04-22 07:50:11 +09:00
|
|
|
'lib/client/templates/after_day.html',
|
|
|
|
'lib/client/templates/before_day.html',
|
2015-07-14 19:39:37 +09:00
|
|
|
'lib/client/templates/posts_daily.html',
|
2015-04-22 07:50:11 +09:00
|
|
|
'lib/client/templates/posts_daily.js',
|
2015-07-15 10:06:44 +09:00
|
|
|
'lib/client/templates/day_heading.html',
|
2015-07-14 19:39:37 +09:00
|
|
|
'lib/client/templates/load_more_days.html',
|
|
|
|
'lib/client/templates/load_more_days.js',
|
2015-04-22 07:50:11 +09:00
|
|
|
'lib/client/stylesheets/daily.scss',
|
|
|
|
], ['client']);
|
|
|
|
|
2015-07-08 16:00:27 +09:00
|
|
|
api.addFiles([
|
|
|
|
'lib/server/fastrender.js'
|
|
|
|
], ['server']);
|
|
|
|
|
2015-08-14 10:40:27 +09:00
|
|
|
var languages = ["ar", "bg", "cs", "da", "de", "el", "en", "es", "et", "fr", "hu", "it", "ja", "ko", "nl", "pl", "pt-BR", "ro", "ru", "sv", "th", "tr", "vi", "zh-CN"];
|
2015-08-14 10:34:21 +09:00
|
|
|
var languagesPaths = languages.map(function (language) {
|
|
|
|
return "i18n/"+language+".i18n.json";
|
|
|
|
});
|
|
|
|
api.addFiles(languagesPaths, ["client", "server"]);
|
2015-04-22 07:50:11 +09:00
|
|
|
|
|
|
|
});
|