2015-04-22 07:50:11 +09:00
|
|
|
Package.describe({
|
|
|
|
name: 'telescope:singleday',
|
|
|
|
summary: 'Telescope Single Day package',
|
|
|
|
version: '0.1.1'
|
|
|
|
});
|
|
|
|
|
|
|
|
Npm.depends({
|
|
|
|
// NPM package dependencies
|
|
|
|
});
|
|
|
|
|
|
|
|
Package.onUse(function (api) {
|
|
|
|
|
|
|
|
api.versionsFrom(['METEOR@1.0']);
|
|
|
|
|
|
|
|
// --------------------------- 1. Meteor packages dependencies ---------------------------
|
|
|
|
|
2015-04-22 16:52:42 +09:00
|
|
|
api.use(['telescope:core@0.1.0']);
|
2015-04-22 07:50:11 +09:00
|
|
|
|
|
|
|
// ---------------------------------- 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/routes.js',
|
|
|
|
'lib/singleday.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/single_day.html',
|
|
|
|
'lib/client/templates/single_day.js',
|
|
|
|
'lib/client/templates/single_day_nav.html',
|
|
|
|
'lib/client/templates/single_day_nav.js'
|
|
|
|
], ['client']);
|
|
|
|
|
|
|
|
// server
|
|
|
|
|
2015-05-01 18:22:00 +02:00
|
|
|
api.addFiles([
|
2015-04-22 07:50:11 +09:00
|
|
|
], ['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/bg.i18n.json',
|
|
|
|
'i18n/de.i18n.json',
|
2015-05-14 12:02:43 +09:00
|
|
|
'i18n/nl.i18n.json',
|
2015-04-22 07:50:11 +09:00
|
|
|
'i18n/en.i18n.json',
|
|
|
|
'i18n/es.i18n.json',
|
|
|
|
'i18n/fr.i18n.json',
|
|
|
|
'i18n/it.i18n.json',
|
|
|
|
'i18n/tr.i18n.json',
|
|
|
|
'i18n/zh-CN.i18n.json'
|
|
|
|
], ['client', 'server']);
|
|
|
|
|
|
|
|
});
|