forked from lookback/meteor-emails
-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.js
49 lines (40 loc) · 1006 Bytes
/
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
/* eslint-disable no-var, prefer-arrow-callback */
var where = 'server';
Package.describe({
name: 'lookback:emails',
summary: 'Send HTML emails with server side Blaze templates. Preview and debug in the browser.',
version: '0.7.8',
git: 'https://github.com/lookback/meteor-emails.git'
});
Package.onUse(function(api) {
api.versionsFrom('1.12.1');
api.use([
'chrisbutler:node-sass@3.2.0',
'iron:router@1.0.7',
'kadira:flow-router@2.9.0'
], where, { weak: true });
api.use([
'ecmascript@0.5.9',
'check',
'underscore',
'email',
'sacha:juice@0.1.3',
'meteorhacks:ssr@2.2.0',
'meteorhacks:picker@1.0.3',
'lookback:html-to-text@2.1.3_2'
], where);
api.addFiles([
'export.js'
], where);
api.export('Mailer', where);
});
Package.onTest(function(api) {
api.use([
'ecmascript',
'underscore',
'dispatch:mocha',
'practicalmeteor:chai',
'lookback:emails',
], 'server');
api.mainModule('tests.js', 'server');
});