-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.js
44 lines (37 loc) · 946 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
Package.describe({
name: 'parlay:synapsepay',
version: '0.0.18_11',
summary: 'Wraps and adds to synapse_pay_rest',
git: 'https://github.com/parlaywithme/meteor-synapsepay',
documentation: 'README.md'
});
Npm.depends({
synapse_pay_rest: "0.0.18"
});
Package.onUse(function(api) {
api.versionsFrom('1.2.0.2');
api.use('coffeescript');
api.use('underscore');
api.use('check');
api.use('random');
api.addFiles([
'client/synapsepay.coffee'
], 'client');
api.addFiles([
'server/synapsepay.coffee',
'server/fingerprint.coffee'
], 'server');
api.addFiles([
'lib/banks.coffee',
'lib/constants.coffee'
]);
// TODO why does this cause it to be undefined?
// api.export('SynapsePay', 'server');
});
Package.onTest(function(api) {
api.use('coffeescript');
api.use('underscore');
api.use('mike:mocha-package');
api.use('parlay:synapsepay');
api.addFiles('tests.coffee', 'server');
});