-
Notifications
You must be signed in to change notification settings - Fork 6
/
package.js
45 lines (37 loc) · 1.28 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
Package.describe({
name: 'gbit:pagseguro',
version: '0.0.1',
summary: 'PagSeguro API for Meteor',
git: 'https://github.com/girassolbit/meteor-pagseguro',
documentation: 'README.md'
});
Package.onUse(function(api) {
api.versionsFrom('1.1.0.2');
api.use('[email protected]');
api.use('[email protected]');
api.use('frozeman:[email protected]');
api.use('peerlibrary:[email protected]_1');
// api.use('meteorhacks:[email protected]');
api.use('iron:[email protected]');
api.use('[email protected]');
api.use('random');
api.addFiles('lib/pagseguro.js', ['client', 'server']);
api.addFiles('server/pagseguro.js', ['server']);
api.addFiles('server/pagseguro-utils.js', ['server']);
api.addFiles('server/config.js', ['server']);
api.addFiles('client/pagseguro.js', ['client']);
api.export('PagSeguro', ['client', 'server']);
api.export('CartItems', ['server']);
});
Package.onTest(function(api) {
api.use('tinytest');
api.use('gbit:[email protected]');
api.use('gbit:pagseguro');
api.use('frozeman:persistent-minimongo');
api.use('xolvio:[email protected]');
api.use('iron:router');
api.use('random');
api.addFiles('tests/_preps.js', ['client', 'server']);
api.addFiles('tests/pagseguro-server.js', ['server']);
api.addFiles('tests/pagseguro-client.js', ['client']);
});