packages/phanime-homepage-activeentries/package.js
Package.describe({
name: 'phanime-homepage-activeentries',
version: '0.0.1',
summary: 'Active entries module for the homepage',
});
Package.onUse(function(api) {
// Add standard app packages to both server and client
api.use([
'standard-app-packages',
'phanime-lib'
], ['server', 'client']);
api.use([
'reywood:publish-composite',
'accounts-base',
'accounts-password'
], ['server']);
// Add the view to the client
api.addFiles([
'client/views/homePageActiveEntries.html',
'client/views/homePageActiveEntries.js'
], ['client']);
// Add publication to the server
api.addFiles([
'server/publications/homePageActiveEntries.js'
], ['server']);
});