mirror of
https://github.com/vale981/Vulcan
synced 2025-03-09 12:16:37 -04:00
79 lines
2.3 KiB
JavaScript
79 lines
2.3 KiB
JavaScript
Package.describe({
|
|
name: "telescope:notifications",
|
|
summary: "Telescope notifications package",
|
|
version: "0.22.2",
|
|
git: "https://github.com/TelescopeJS/telescope-notifications.git"
|
|
});
|
|
|
|
Package.onUse(function (api) {
|
|
|
|
api.versionsFrom("METEOR@1.0");
|
|
|
|
api.use([
|
|
'telescope:core@0.22.2',
|
|
'kestanous:herald@1.3.0',
|
|
'kestanous:herald-email@0.5.0'
|
|
]);
|
|
|
|
api.addFiles([
|
|
'lib/herald.js',
|
|
'lib/helpers.js',
|
|
'lib/custom_fields.js',
|
|
'lib/notifications.js',
|
|
'lib/callbacks.js',
|
|
'lib/modules.js',
|
|
'package-tap.i18n'
|
|
], ['client', 'server']);
|
|
|
|
api.addFiles([
|
|
'lib/client/templates/notification_item.html',
|
|
'lib/client/templates/notification_item.js',
|
|
'lib/client/templates/notifications_mark_as_read.html',
|
|
'lib/client/templates/notifications_mark_as_read.js',
|
|
'lib/client/templates/notification_new_comment.html',
|
|
'lib/client/templates/notification_new_reply.html',
|
|
'lib/client/templates/notification_post_approved.html',
|
|
'lib/client/templates/notifications_menu.html',
|
|
'lib/client/templates/notifications_menu.js',
|
|
'lib/client/templates/unsubscribe.html',
|
|
'lib/client/templates/unsubscribe.js',
|
|
], ['client']);
|
|
|
|
api.addFiles([
|
|
'lib/server/notifications-server.js',
|
|
'lib/server/routes.js',
|
|
'lib/server/templates/emailAccountApproved.handlebars',
|
|
'lib/server/templates/emailNewComment.handlebars',
|
|
'lib/server/templates/emailNewPost.handlebars',
|
|
'lib/server/templates/emailNewPendingPost.handlebars',
|
|
'lib/server/templates/emailPostApproved.handlebars',
|
|
'lib/server/templates/emailNewReply.handlebars',
|
|
'lib/server/templates/emailNewUser.handlebars'
|
|
], ['server']);
|
|
|
|
api.addFiles([
|
|
"i18n/ar.i18n.json",
|
|
"i18n/bg.i18n.json",
|
|
"i18n/de.i18n.json",
|
|
"i18n/el.i18n.json",
|
|
"i18n/en.i18n.json",
|
|
"i18n/es.i18n.json",
|
|
"i18n/fr.i18n.json",
|
|
"i18n/it.i18n.json",
|
|
"i18n/nl.i18n.json",
|
|
"i18n/pl.i18n.json",
|
|
"i18n/pt-BR.i18n.json",
|
|
"i18n/ro.i18n.json",
|
|
"i18n/ru.i18n.json",
|
|
"i18n/sv.i18n.json",
|
|
"i18n/tr.i18n.json",
|
|
"i18n/vi.i18n.json",
|
|
"i18n/zh-CN.i18n.json"
|
|
], ["client", "server"]);
|
|
|
|
api.export([
|
|
'Herald'
|
|
]);
|
|
});
|
|
|
|
// TODO: once user profile edit form is generated dynamically, add notification options from this package as well.
|