Vulcan/packages/nova-comments/package.js

51 lines
1.3 KiB
JavaScript
Raw Normal View History

2015-04-22 07:50:26 +09:00
Package.describe({
name: "nova:comments",
2015-04-22 07:50:26 +09:00
summary: "Telescope comments package",
2016-06-12 12:15:11 +09:00
version: "0.26.3-nova",
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([
2016-06-12 12:15:11 +09:00
'nova:lib@0.26.3-nova',
// 'nova:i18n@0.26.3-nova',
'nova:settings@0.26.3-nova',
'nova:posts@0.26.3-nova',
'nova:users@0.26.3-nova'
2015-04-22 07:50:26 +09:00
]);
api.use([
2016-06-12 12:15:11 +09:00
'nova:notifications@0.26.3-nova',
'nova:email@0.26.3-nova'
], ['client', 'server'], {weak: true});
api.addFiles([
'lib/collection.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/notifications.js',
2016-02-16 16:12:13 +09:00
'lib/helpers.js',
2016-02-17 11:28:00 +09:00
'lib/custom_fields.js',
2016-04-13 11:39:01 +09:00
'lib/emails.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([
'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
});