I am new to Meteor ( ). 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) ?
Thanks! <3 :*