-
Notifications
You must be signed in to change notification settings - Fork 30
/
package.js
32 lines (27 loc) · 928 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
Package.describe({
name: 'percolate:google-api',
summary: "A Meteor library to interact with Google's API",
version: '1.1.0',
git: 'https://github.com/percolatestudio/meteor-google-api'
});
Package.onUse(function (api, where) {
if (api.versionsFrom) {
api.versionsFrom(['1.0', '2.3']);
api.use(['http', 'livedata', 'google-oauth', 'mrt:[email protected]', 'accounts-base', 'underscore']);
} else {
api.use(['http', 'livedata', '[email protected]', 'q', 'accounts-base', 'underscore']);
}
api.addFiles(['utils.js', 'google-api-async.js'], ['client', 'server']);
api.addFiles(['google-api-methods.js'], ['server']);
api.export('GoogleApi', ['client', 'server']);
});
Package.onTest(function (api) {
api.use([
'percolate:google-api',
'tinytest',
'http',
'accounts-base',
'service-configuration',
'underscore']);
api.addFiles('google-api-tests.js', ['client', 'server']);
});