Vulcan/packages/nova-subscribe/package.js
xavcz b67989fbc2 work on notifications
* Telescope.notifications.create -> import { createNotifications } from 'meteor/nova:notifications' ;
* leverage Meteor's weak dependencies on packages & move code related to emails / notifications from nova:posts et al. to nova:notifications
2017-02-16 10:04:00 +01:00

29 lines
753 B
JavaScript

Package.describe({
name: "nova:subscribe",
summary: "Subscribe to posts, users, etc. to be notified of new activity",
version: "1.0.0",
git: "https://github.com/TelescopeJS/telescope-subscribe-to-posts.git"
});
Package.onUse(function (api) {
api.versionsFrom("METEOR@1.0");
api.use([
'nova:core@1.0.0',
'nova:users@1.0.0', // this dep is needed to check users permissions
'nova:notifications@1.0.0',
// dependencies on posts, categories are done with nested imports to reduce explicit dependencies
]);
api.use([
'nova:posts@1.0.0',
'nova:comments@1.0.0',
'nova:categories@1.0.0',
], {weak: true});
api.mainModule("lib/modules.js", ["client"]);
api.mainModule("lib/modules.js", ["server"]);
});