Vulcan/packages/telescope-email/package.js

43 lines
933 B
JavaScript
Raw Normal View History

Package.describe({
name: "telescope:email",
summary: "Telescope email package",
2015-07-28 11:16:14 +09:00
version: "0.22.2",
git: "https://github.com/TelescopeJS/telescope-email.git"
});
Npm.depends({
"html-to-text": "0.1.0"
});
Package.onUse(function (api) {
api.versionsFrom(['METEOR@1.0']);
api.use([
2015-07-28 11:16:14 +09:00
'telescope:core@0.22.2',
'sacha:juice@0.1.4'
]);
// do not use for now since tap:i18n doesn't support server-side templates yet
// api.addFiles([
// 'package-tap.i18n'
// ], ['client', 'server']);
api.addFiles([
'lib/server/email.js',
'lib/server/templates/emailInvite.handlebars',
'lib/server/templates/emailTest.handlebars',
'lib/server/templates/emailWrapper.handlebars',
], ['server']);
api.addFiles([
"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"]);
});