mirror of
https://github.com/vale981/Vulcan
synced 2025-03-06 10:01:40 -05:00
55 lines
1.2 KiB
JavaScript
55 lines
1.2 KiB
JavaScript
Package.describe({
|
|
name: "nova:posts",
|
|
summary: "Telescope posts package",
|
|
version: "0.25.7",
|
|
git: "https://github.com/TelescopeJS/telescope-posts.git"
|
|
});
|
|
|
|
// Npm.depends({
|
|
// 'react-komposer': '1.3.1'
|
|
// });
|
|
|
|
Package.onUse(function (api) {
|
|
|
|
api.versionsFrom(['METEOR@1.0']);
|
|
|
|
api.use([
|
|
'nova:core@0.25.7',
|
|
// 'nova:i18n@0.25.7',
|
|
// 'nova:settings@0.25.7',
|
|
'nova:users@0.25.7',
|
|
// 'nova:comments@0.25.7'
|
|
]);
|
|
|
|
api.use([
|
|
'nova:notifications@0.25.7'
|
|
], ['client', 'server'], {weak: true});
|
|
|
|
api.addFiles([
|
|
'lib/config.js',
|
|
'lib/collection.js',
|
|
'lib/parameters.js',
|
|
'lib/notifications.js',
|
|
'lib/views.js',
|
|
'lib/helpers.js',
|
|
'lib/published_fields.js',
|
|
'lib/callbacks.js',
|
|
'lib/methods.js'
|
|
], ['client', 'server']);
|
|
|
|
api.addFiles([
|
|
'lib/server/publications.js'
|
|
], ['server']);
|
|
|
|
|
|
// var languages = ["ar", "bg", "cs", "da", "de", "el", "en", "es", "et", "fr", "hu", "id", "it", "ja", "kk", "ko", "nl", "pl", "pt-BR", "ro", "ru", "sl", "sv", "th", "tr", "vi", "zh-CN"];
|
|
// var languagesPaths = languages.map(function (language) {
|
|
// return "i18n/"+language+".i18n.json";
|
|
// });
|
|
// api.addFiles(languagesPaths, ["client", "server"]);
|
|
|
|
api.export([
|
|
'Posts'
|
|
]);
|
|
|
|
});
|