forked from percolatestudio/meteor-google-api
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.js
26 lines (21 loc) · 873 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
Package.describe({
name: 'percolate:google-api',
summary: "A Meteor library to interact with Google's API",
version: '1.0.1',
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:[email protected]', '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']);
api.add_files('google-api-tests.js', ['client', 'server']);
});