forked from percolatestudio/meteor-google-api
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.js
32 lines (27 loc) · 908 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.0.3',
git: 'https://github.com/percolatestudio/meteor-google-api'
});
Package.on_use(function (api, where) {
if (api.versionsFrom) {
api.versionsFrom('0.9.0');
api.use(['http', 'livedata', 'google', 'mrt:q@1.0.1', 'accounts-base', 'underscore']);
} else {
api.use(['http', 'livedata', 'google', 'q', 'accounts-base', 'underscore']);
}
api.add_files(['utils.js', 'google-api-async.js'], ['client', 'server']);
api.add_files(['google-api-methods.js'], ['server']);
api.export('GoogleApi', ['client', 'server']);
});
Package.on_test(function (api) {
api.use([
'percolate:google-api',
'tinytest',
'http',
'accounts-base',
'service-configuration',
'underscore']);
api.add_files('google-api-tests.js', ['client', 'server']);
});