2014-07-05 11:54:36 +09:00
|
|
|
Package.describe({summary: "Telescope search package"});
|
2014-06-23 11:05:06 +09:00
|
|
|
|
2014-08-28 13:39:30 +09:00
|
|
|
Package.onUse(function (api) {
|
2014-06-23 11:05:06 +09:00
|
|
|
|
2015-03-28 18:30:26 +09:00
|
|
|
api.use([
|
|
|
|
'telescope-lib',
|
|
|
|
'telescope-base',
|
|
|
|
'telescope-settings',
|
|
|
|
'aldeed:simple-schema'
|
|
|
|
], ['client', 'server']);
|
2014-06-23 11:05:06 +09:00
|
|
|
|
|
|
|
api.use([
|
|
|
|
'jquery',
|
|
|
|
'underscore',
|
2014-08-28 13:24:28 +09:00
|
|
|
'iron:router',
|
2014-11-24 11:27:07 +09:00
|
|
|
'templating',
|
2015-02-11 18:02:56 +09:00
|
|
|
'tap:i18n',
|
|
|
|
'fourseven:scss'
|
2014-06-23 11:05:06 +09:00
|
|
|
], 'client');
|
|
|
|
|
2014-11-24 11:27:07 +09:00
|
|
|
api.add_files([
|
|
|
|
'lib/search.js',
|
|
|
|
'package-tap.i18n'
|
|
|
|
], ['client', 'server']);
|
2014-06-23 11:05:06 +09:00
|
|
|
|
|
|
|
api.add_files([
|
|
|
|
'lib/client/routes.js',
|
2015-02-11 18:02:56 +09:00
|
|
|
'lib/client/templates/search.html',
|
|
|
|
'lib/client/templates/search.js',
|
|
|
|
'lib/client/templates/search_logs.html',
|
|
|
|
'lib/client/templates/search_logs.js',
|
|
|
|
'lib/client/stylesheets/search.scss'
|
2014-06-23 11:05:06 +09:00
|
|
|
], ['client']);
|
|
|
|
|
|
|
|
api.add_files([
|
|
|
|
'lib/server/log_search.js',
|
|
|
|
'lib/server/publications.js'
|
|
|
|
], ['server']);
|
2014-11-24 11:27:07 +09:00
|
|
|
|
|
|
|
api.add_files([
|
|
|
|
"i18n/de.i18n.json",
|
|
|
|
"i18n/en.i18n.json",
|
|
|
|
"i18n/es.i18n.json",
|
|
|
|
"i18n/fr.i18n.json",
|
|
|
|
"i18n/it.i18n.json",
|
2014-11-24 11:38:57 +09:00
|
|
|
"i18n/zh-CN.i18n.json",
|
2014-11-24 11:27:07 +09:00
|
|
|
], ["client", "server"]);
|
|
|
|
|
2015-01-05 10:06:30 +09:00
|
|
|
api.export(['adminMenu', 'viewParameters']);
|
2015-03-28 18:30:26 +09:00
|
|
|
});
|