2015-04-22 07:50:11 +09:00
|
|
|
Package.describe({
|
|
|
|
name: "telescope:notifications",
|
|
|
|
summary: "Telescope notifications package",
|
2015-06-17 17:58:07 +09:00
|
|
|
version: "0.20.6",
|
2015-04-22 07:50:11 +09:00
|
|
|
git: "https://github.com/TelescopeJS/telescope-notifications.git"
|
|
|
|
});
|
|
|
|
|
|
|
|
Package.onUse(function (api) {
|
|
|
|
|
|
|
|
api.versionsFrom("METEOR@1.0");
|
|
|
|
|
|
|
|
api.use([
|
2015-06-17 17:58:07 +09:00
|
|
|
'telescope:core@0.20.6',
|
2015-04-22 07:50:11 +09:00
|
|
|
'kestanous:herald@1.3.0',
|
|
|
|
'kestanous:herald-email@0.5.0',
|
|
|
|
'cmather:handlebars-server@0.2.0'
|
2015-04-22 16:52:42 +09:00
|
|
|
]);
|
2015-04-22 07:50:11 +09:00
|
|
|
|
2015-05-01 18:22:00 +02:00
|
|
|
api.addFiles([
|
2015-04-22 07:50:11 +09:00
|
|
|
'lib/notifications.js',
|
|
|
|
'lib/herald.js',
|
2015-05-18 10:12:48 +09:00
|
|
|
'lib/modules.js',
|
2015-04-22 07:50:11 +09:00
|
|
|
'package-tap.i18n'
|
|
|
|
], ['client', 'server']);
|
|
|
|
|
2015-05-01 18:22:00 +02:00
|
|
|
api.addFiles([
|
2015-04-22 07:50:11 +09:00
|
|
|
'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']);
|
|
|
|
|
2015-05-01 18:22:00 +02:00
|
|
|
api.addFiles([
|
2015-04-22 07:50:11 +09:00
|
|
|
'lib/server/notifications-server.js',
|
|
|
|
'lib/server/routes.js'
|
|
|
|
], ['server']);
|
|
|
|
|
2015-05-01 18:22:00 +02:00
|
|
|
api.addFiles([
|
2015-06-15 19:05:42 +09:00
|
|
|
"i18n/ar.i18n.json",
|
|
|
|
"i18n/bg.i18n.json",
|
2015-04-22 07:50:11 +09:00
|
|
|
"i18n/de.i18n.json",
|
2015-06-15 19:05:42 +09:00
|
|
|
"i18n/el.i18n.json",
|
2015-04-22 07:50:11 +09:00
|
|
|
"i18n/en.i18n.json",
|
|
|
|
"i18n/es.i18n.json",
|
|
|
|
"i18n/fr.i18n.json",
|
|
|
|
"i18n/it.i18n.json",
|
2015-06-16 16:32:53 +09:00
|
|
|
"i18n/nl.i18n.json",
|
|
|
|
"i18n/pl.i18n.json",
|
|
|
|
"i18n/pt-BR.i18n.json",
|
|
|
|
"i18n/ro.i18n.json",
|
|
|
|
"i18n/ru.i18n.json",
|
2015-06-17 13:22:47 +09:00
|
|
|
"i18n/sv.i18n.json",
|
2015-06-16 16:32:53 +09:00
|
|
|
"i18n/tr.i18n.json",
|
2015-06-17 08:37:54 +09:00
|
|
|
"i18n/vi.i18n.json",
|
2015-06-16 16:32:53 +09:00
|
|
|
"i18n/zh-CN.i18n.json"
|
2015-04-22 07:50:11 +09:00
|
|
|
], ["client", "server"]);
|
|
|
|
|
|
|
|
api.export([
|
2015-05-13 11:55:10 +09:00
|
|
|
'Herald'
|
2015-04-22 07:50:11 +09:00
|
|
|
]);
|
|
|
|
});
|
|
|
|
|
|
|
|
// TODO: once user profile edit form is generated dynamically, add notification options from this package as well.
|