2015-04-22 07:50:11 +09:00
|
|
|
Package.describe({
|
|
|
|
name: "telescope:invites",
|
|
|
|
summary: "Telescope invites package",
|
2015-05-18 12:10:07 +09:00
|
|
|
version: "0.20.0",
|
2015-04-22 07:50:11 +09:00
|
|
|
git: "https://github.com/TelescopeJS/telescope-invites.git"
|
|
|
|
});
|
|
|
|
|
|
|
|
Npm.depends({
|
|
|
|
// NPM package dependencies
|
|
|
|
});
|
|
|
|
|
|
|
|
Package.onUse(function (api) {
|
|
|
|
|
|
|
|
api.versionsFrom("METEOR@1.0");
|
|
|
|
|
|
|
|
// --------------------------- 1. Meteor packages dependencies ---------------------------
|
|
|
|
|
|
|
|
// automatic (let the package specify where it's needed)
|
|
|
|
|
2015-05-18 12:10:07 +09:00
|
|
|
api.use(['telescope:core@0.20.0']);
|
2015-05-01 18:22:00 +02:00
|
|
|
|
2015-04-22 07:50:11 +09:00
|
|
|
// client
|
|
|
|
|
|
|
|
api.use([
|
|
|
|
'jquery',
|
|
|
|
'underscore',
|
|
|
|
'templating',
|
|
|
|
'telescope:messages@0.1.0'
|
|
|
|
], ['client']);
|
|
|
|
|
|
|
|
// server
|
|
|
|
|
|
|
|
api.use([
|
|
|
|
//
|
|
|
|
], ['server']);
|
|
|
|
|
|
|
|
// ---------------------------------- 2. Files to include ----------------------------------
|
|
|
|
|
|
|
|
// i18n config (must come first)
|
|
|
|
|
2015-05-01 18:22:00 +02:00
|
|
|
api.addFiles([
|
2015-04-22 07:50:11 +09:00
|
|
|
'package-tap.i18n'
|
|
|
|
], ['client', 'server']);
|
|
|
|
|
|
|
|
// both
|
|
|
|
|
2015-05-01 18:22:00 +02:00
|
|
|
api.addFiles([
|
2015-04-22 07:50:11 +09:00
|
|
|
'lib/invites.js'
|
|
|
|
], ['client', 'server']);
|
|
|
|
|
|
|
|
// client
|
|
|
|
|
2015-05-01 18:22:00 +02:00
|
|
|
api.addFiles([
|
2015-04-22 07:50:11 +09:00
|
|
|
'lib/client/templates/user_invites.html',
|
|
|
|
'lib/client/templates/user_invites.js'
|
|
|
|
], ['client']);
|
|
|
|
|
|
|
|
// server
|
|
|
|
|
2015-05-01 18:22:00 +02:00
|
|
|
api.addFiles([
|
2015-04-22 07:50:11 +09:00
|
|
|
'lib/server/invites.js',
|
|
|
|
'lib/server/publications.js'
|
|
|
|
], ['server']);
|
|
|
|
|
|
|
|
// i18n languages (must come last)
|
|
|
|
|
2015-05-01 18:22:00 +02:00
|
|
|
api.addFiles([
|
2015-04-22 07:50:11 +09:00
|
|
|
'i18n/de.i18n.json',
|
|
|
|
'i18n/en.i18n.json',
|
|
|
|
'i18n/es.i18n.json',
|
|
|
|
'i18n/fr.i18n.json',
|
|
|
|
'i18n/it.i18n.json',
|
|
|
|
'i18n/zh-CN.i18n.json'
|
|
|
|
], ['client', 'server']);
|
|
|
|
|
|
|
|
// -------------------------------- 3. Variables to export --------------------------------
|
|
|
|
|
|
|
|
api.export([
|
|
|
|
//
|
|
|
|
]);
|
|
|
|
|
|
|
|
});
|