mirror of
https://github.com/vale981/Vulcan
synced 2025-03-10 04:26:41 -04:00
38 lines
692 B
JavaScript
38 lines
692 B
JavaScript
Package.describe({summary: "Telescope settings package"});
|
|
|
|
Package.onUse(function(api) {
|
|
var both = ['server', 'client'];
|
|
|
|
api.use([
|
|
'mongo',
|
|
'underscore',
|
|
|
|
'aldeed:simple-schema',
|
|
|
|
'telescope-base',
|
|
'telescope-lib'
|
|
], both);
|
|
|
|
api.use([
|
|
'templating',
|
|
'aldeed:autoform'
|
|
], 'client');
|
|
|
|
api.addFiles([
|
|
'lib/settings.js',
|
|
'lib/router.js'
|
|
], both);
|
|
|
|
api.addFiles([
|
|
'lib/server/publications.js',
|
|
], 'server');
|
|
|
|
api.addFiles([
|
|
'lib/client/language_changer.js',
|
|
'lib/client/helpers.js',
|
|
'lib/client/templates/settings_form.html',
|
|
'lib/client/templates/settings_form.js'
|
|
], 'client');
|
|
|
|
api.export('Settings', both);
|
|
});
|