mirror of
https://github.com/vale981/Vulcan
synced 2025-03-09 12:16:37 -04:00
44 lines
1.2 KiB
JavaScript
44 lines
1.2 KiB
JavaScript
Package.describe({
|
|
name: "nova:newsletter",
|
|
summary: "Telescope email newsletter package",
|
|
version: "0.26.3-nova",
|
|
git: "https://github.com/TelescopeJS/telescope-newsletter.git"
|
|
});
|
|
|
|
Package.onUse(function (api) {
|
|
|
|
api.versionsFrom("METEOR@1.0");
|
|
|
|
api.use([
|
|
'nova:core@0.26.3-nova',
|
|
'nova:posts@0.26.3-nova',
|
|
'nova:comments@0.26.3-nova',
|
|
'nova:users@0.26.3-nova',
|
|
'nova:email@0.26.3-nova'
|
|
]);
|
|
|
|
api.addFiles([
|
|
// 'package-tap.i18n',
|
|
// 'lib/collection.js',
|
|
'lib/callbacks.js',
|
|
'lib/custom_fields.js',
|
|
'lib/emails.js'
|
|
], ['client', 'server']);
|
|
|
|
api.addFiles([
|
|
'lib/server/cron.js',
|
|
'lib/server/emails.js',
|
|
'lib/server/methods.js',
|
|
'lib/server/mailchimp_api.js'
|
|
], ['server']);
|
|
|
|
api.mainModule('lib/server.js', 'server');
|
|
api.mainModule('lib/client.js', 'client');
|
|
|
|
// 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"]);
|
|
|
|
});
|