Publish from npm module

Hi,

I am new to Meteor ( :smiley: ). OK, I made my first npm package for Meteor. I want to publish data from the package: when package is included into application and when application is started, I want data to be published without adding any additional code to application.

here is the repository, direct link to file with publications: https://github.com/perak/meteor-user-roles/blob/master/src/index.js#L44-L65

Now, where/how to put publish code inside npm package to execute automatically (and on server only) ?

Please help!
Thanks! <3 :*

Conversation moved to another topic: Trying to write NPM module for Meteor 1.3