forked from percolatestudio/meteor-google-api
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpackage.js
34 lines (29 loc) · 901 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
Package.describe({
name: 'npvn: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) {
const packages = ['http', 'livedata', 'google', 'accounts-base', 'underscore', 'ecmascript'];
if (api.versionsFrom) {
api.versionsFrom('0.9.0');
packages.push('mrt:q@1.0.1');
} else {
packages.push('q');
}
api.use(packages);
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([
'npvn:google-api',
'tinytest',
'http',
'accounts-base',
'service-configuration',
'underscore']);
api.add_files('google-api-tests.js', ['client', 'server']);
});