Vulcan/packages/nova-comments/package.js

44 lines
1.1 KiB
JavaScript
Raw Normal View History

2015-04-22 07:50:26 +09:00
Package.describe({
name: "telescope:comments",
summary: "Telescope comments package",
2015-12-30 15:47:46 +09:00
version: "0.25.7",
2015-04-22 07:50:26 +09:00
git: "https://github.com/TelescopeJS/Telescope.git"
});
Package.onUse(function (api) {
api.versionsFrom(['METEOR@1.0']);
api.use([
2015-12-30 15:47:46 +09:00
'telescope:lib@0.25.7',
// 'telescope:i18n@0.25.7',
2015-12-30 15:47:46 +09:00
'telescope:settings@0.25.7',
2016-02-17 11:28:00 +09:00
'telescope:posts@0.25.7',
2015-12-30 15:47:46 +09:00
'telescope:users@0.25.7'
2015-04-22 07:50:26 +09:00
]);
api.addFiles([
2015-04-22 07:50:26 +09:00
'lib/comments.js',
2016-02-17 14:22:28 +09:00
'lib/methods.js',
'lib/callbacks.js',
2016-02-16 16:12:13 +09:00
'lib/views.js',
'lib/parameters.js',
'lib/helpers.js',
2016-02-17 11:28:00 +09:00
'lib/custom_fields.js',
2016-02-17 15:09:49 +09:00
'lib/published_fields.js'
2015-04-22 07:50:26 +09:00
], ['client', 'server']);
api.addFiles([
2016-02-16 16:12:13 +09:00
'lib/server/publications.js',
2015-04-22 07:50:26 +09:00
], ['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"]);
2015-06-15 19:05:42 +09:00
api.export('Comments');
2015-04-22 07:50:26 +09:00
});