-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.js
27 lines (25 loc) · 1.8 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
Package.describe({
name: 'sipgate:io',
version: '0.1.0',
// Brief, one-line summary of the package.
summary: 'use sipgate.io in meteor',
// URL to the Git repository containing the source code for this package.
git: 'https://github.com/sipgate/sipgate.io-meteor',
// By default, Meteor will default to using README.md for documentation.
// To avoid submitting documentation, set this field to null.
documentation: 'README.md'
});
Package.onUse(function(api) {
api.versionsFrom('1.1.0.2');
api.use('coffeescript');
api.use('cfs:http-methods@0.0.30');
api.addFiles(['response.coffee', 'response/action.coffee', 'response/action/hangup.coffee', 'response/action/play.coffee', 'response/action/dial.coffee', 'response/action/reject.coffee', 'response/action/gather.coffee', 'sipgate.coffee', 'call.coffee' ], 'server');
api.export(['SipgateResponse', 'SipgateResponseAction', 'SipgateResponseActionHangup', 'SipgateResponseActionPlay', 'SipgateResponseActionDial', 'SipgateResponseActionReject', 'SipgateResponseActionGather', 'Sipgate', 'Call']);
});
Package.onTest(function(api) {
api.use('coffeescript', ['client', 'server']);
api.use(['tinytest', 'test-helpers' ], 'client');
api.addFiles(['response.coffee', 'response/action.coffee', 'response/action/hangup.coffee', 'response/action/play.coffee', 'response/action/dial.coffee', 'response/action/reject.coffee', 'response/action/gather.coffee', 'sipgate.coffee', 'call.coffee']);
api.addFiles(['tests/client/call-tests.coffee', 'tests/client/io-tests.coffee', 'tests/client/response-tests.coffee' ], "client");
api.export(['SipgateResponse', 'SipgateResponseAction', 'SipgateResponseActionHangup', 'SipgateResponseActionPlay', 'SipgateResponseActionDial', 'SipgateResponseActionReject', 'SipgateResponseActionGather', 'HTTP', 'Sipgate', 'Call']);
});