-
Notifications
You must be signed in to change notification settings - Fork 25
/
Copy pathpackage.js
71 lines (61 loc) · 1.48 KB
/
package.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
Package.describe({
summary: "Telescope email newsletter package",
version: '0.1.0',
name: "telescope-newsletter"
});
Npm.depends({
"html-to-text": "0.1.0"
});
Package.onUse(function (api) {
api.use([
'telescope-lib',
'telescope-base',
'telescope-settings',
'aldeed:simple-schema',
'iron:router',
'miro:mailchimp',
'tap:i18n',
'fourseven:scss'
], ['client', 'server']);
api.use([
'jquery',
'underscore',
'templating',
'telescope-messages',
'mrt:cookies'
], 'client');
api.use([
'percolatestudio:synced-cron',
'cmather:handlebars-server',
'meteorhacks:npm'
], ['server']);
api.add_files([
'package-tap.i18n',
'lib/newsletter.js'
], ['client', 'server']);
api.add_files([
'lib/client/templates/newsletter_banner.html',
'lib/client/templates/newsletter_banner.js',
'lib/client/stylesheets/newsletter_banner.scss'
], ['client']);
api.add_files([
'lib/server/campaign.js',
'lib/server/cron.js',
'lib/server/mailchimp.js',
'lib/server/routes.js',
'lib/server/templates/emailDigest.handlebars',
'lib/server/templates/emailDigestConfirmation.handlebars',
'lib/server/templates/emailPostItem.handlebars'
], ['server']);
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"]);
api.export([
'resetNewsletterSchedule'
]);
});