Vulcan/packages/_telescope-daily/package.js
2016-02-24 10:09:23 +09:00

41 lines
1.1 KiB
JavaScript

Package.describe({
name: "nova:daily",
summary: "Telescope daily view",
version: "0.25.7",
git: "https://github.com/TelescopeJS/Telescope.git"
});
Package.onUse(function (api) {
api.versionsFrom(['METEOR@1.0']);
api.use([
'nova:core@0.25.7'
]);
api.addFiles([
'package-tap.i18n',
'lib/daily.js'
], ['client', 'server']);
api.addFiles([
'lib/client/templates/after_day.html',
'lib/client/templates/before_day.html',
'lib/client/templates/posts_daily.html',
'lib/client/templates/posts_daily.js',
'lib/client/templates/day_heading.html',
'lib/client/templates/load_more_days.html',
'lib/client/templates/load_more_days.js',
'lib/client/stylesheets/daily.scss',
], ['client']);
api.addFiles([
], ['server']);
var languages = ["ar", "bg", "cs", "da", "de", "el", "en", "es", "et", "fr", "hu", "id", "it", "ja", "kk", "ko", "nl", "pl", "pt-BR", "ro", "ru", "sl", "sv", "th", "tr", "vi", "zh-CN"];
var languagesPaths = languages.map(function (language) {
return "i18n/"+language+".i18n.json";
});
api.addFiles(languagesPaths, ["client", "server"]);
});