mirror of
https://github.com/vale981/Vulcan
synced 2025-03-10 04:26:41 -04:00
82 lines
No EOL
1.8 KiB
JavaScript
82 lines
No EOL
1.8 KiB
JavaScript
Package.describe({
|
||
summary: 'Telescope blank package – use as template for your own packages',
|
||
version: '0.1.0',
|
||
name: 'telescope-blank'
|
||
});
|
||
|
||
Npm.depends({
|
||
// NPM package dependencies
|
||
});
|
||
|
||
Package.onUse(function (api) {
|
||
|
||
// --------------------------- 1. Meteor packages dependencies ---------------------------
|
||
|
||
// automatic (let the package specify where it's needed)
|
||
|
||
api.use([
|
||
'tap:i18n', // internationalization package
|
||
'iron:router', // routing package
|
||
'telescope-base', // basic Telescope hooks and objects
|
||
'telescope-lib', // useful functions
|
||
'telescope-i18n' // internationalization wrapper
|
||
]);
|
||
|
||
// client
|
||
|
||
api.use([
|
||
'jquery', // useful for DOM interactions
|
||
'underscore', // JavaScript swiss army knife library
|
||
'templating' // required for client-side templates
|
||
], ['client']);
|
||
|
||
// server
|
||
|
||
api.use([
|
||
//
|
||
], ['server']);
|
||
|
||
// ---------------------------------- 2. Files to include ----------------------------------
|
||
|
||
// i18n config (must come first)
|
||
|
||
api.add_files([
|
||
'package-tap.i18n'
|
||
], ['client', 'server']);
|
||
|
||
// both
|
||
|
||
api.add_files([
|
||
'lib/both.js'
|
||
], ['client', 'server']);
|
||
|
||
// client
|
||
|
||
api.add_files([
|
||
'lib/client/client_only.js'
|
||
], ['client']);
|
||
|
||
// server
|
||
|
||
api.add_files([
|
||
'lib/server/server_only.js'
|
||
], ['server']);
|
||
|
||
// i18n languages (must come last)
|
||
|
||
api.add_files([
|
||
'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([
|
||
//
|
||
]);
|
||
|
||
}); |