-
Notifications
You must be signed in to change notification settings - Fork 5
/
package.js
30 lines (25 loc) · 965 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
Package.describe({
name: 'mbanting:reactive-ibeacons',
summary: "Turns iBeacons into reactive data sources in your Meteor Cordova apps.",
version: '1.2.1',
git: "https://github.com/mbanting/meteor-reactive-ibeacons"
});
/**
* Cordova plugin dependencies
*/
Cordova.depends({
'com.unarin.cordova.beacon': '3.4.0'
});
Package.onUse(function(api) {
api.versionsFrom('1.1.0.3');
api.use(['check', 'tracker', 'underscore']);
api.addFiles('lib/reactive-ibeacons.js', ["web.cordova"]);
api.export('ReactiveBeaconRegion', ['web.cordova']);
});
Package.onTest(function(api) {
api.use(['check', 'tracker', 'underscore']);
api.use(['tinytest', 'mbanting:reactive-ibeacons']);
api.addFiles(['tests/client/stubs.js', 'lib/reactive-ibeacons.js'], ["client"]); // tests can run on client, make files available
api.addFiles('tests/client/reactive-ibeacons-tests.js', 'client');
api.export('ReactiveBeaconRegion', 'client');
});