forked from iron-meteor/iron-location
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.js
35 lines (26 loc) · 860 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
Package.describe({
name: 'iron:location',
summary: 'Reactive urls that work in IE8/9 and modern browsers.',
version: '1.1.0',
git: 'https://github.com/meteor-compat/iron-location.git'
});
Package.onUse(function (api) {
api.versionsFrom('[email protected]');
api.use('underscore');
api.use('tracker');
api.use('[email protected] || 3.0.0');
api.use('iron:[email protected]');
api.imply('iron:core');
api.use('iron:[email protected]');
api.use('appcache', {weak: true});
api.addFiles('lib/utils.js', 'client');
api.addFiles('lib/state.js', 'client');
api.addFiles('lib/location.js', 'client');
api.export(['urlToHashStyle', 'urlFromHashStyle'], 'client', {testOnly: true});
});
Package.onTest(function (api) {
api.use('iron:location');
api.use('tinytest');
api.use('test-helpers');
api.addFiles('test/location_test.js', 'client');
});