forked from lookback/meteor-emails
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.js
51 lines (42 loc) · 977 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
50
51
/* eslint no-var: 0*/
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.2',
git: 'https://github.com/lookback/meteor-emails.git'
});
Npm.depends({
'html-to-text': '1.3.0'
});
Package.onUse(function(api) {
api.versionsFrom('1.0.4');
api.use([
'chrisbutler:[email protected]',
'iron:[email protected]',
'kadira:[email protected]'
], where, { weak: true });
api.use([
'check',
'underscore',
'email',
'sacha:[email protected]',
'meteorhacks:[email protected]',
'meteorhacks:[email protected]'
], where);
api.addFiles([
'lib/utils.js',
'lib/template-helpers.js',
'lib/routing.js',
'lib/mailer.js'
], where);
api.export('Mailer', where);
});
Package.onTest(function(api) {
api.use([
'practicalmeteor:mocha',
'ecmascript',
'lookback:emails'
], where);
});