Vulcan/packages/nova-voting/package.js

31 lines
558 B
JavaScript
Raw Normal View History

Package.describe({
2016-02-24 10:27:46 +09:00
name: "nova:voting",
summary: "Telescope scoring package.",
2016-05-22 15:53:58 +09:00
version: "0.26.2-nova",
git: "https://github.com/TelescopeJS/Telescope.git"
});
Package.onUse(function (api) {
api.versionsFrom("METEOR@1.0");
2016-05-22 15:53:58 +09:00
api.use(['nova:core@0.26.2-nova']);
api.use([
2016-05-22 15:53:58 +09:00
'nova:posts@0.26.2-nova',
'nova:comments@0.26.2-nova'
], ['client', 'server']);
api.addFiles([
'lib/scoring.js',
2016-02-17 14:22:28 +09:00
'lib/vote.js',
'lib/custom_fields.js'
], ['client','server']);
api.addFiles([
'lib/server/cron.js',
], ['server']);
});