forked from Q42/meteor-microsoft
-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathpackage.js
39 lines (34 loc) · 1.04 KB
/
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
36
37
38
39
Package.describe({
name: 'ghobbs:microsoft2',
version: '1.0.2',
summary: 'An implementation of the Microsoft OAuth flow using the v2.0 authorization endpoint.',
git: 'https://github.com/gwhobbs/meteor-microsoft',
documentation: 'README.md'
});
Package.onUse(function(api) {
api.versionsFrom('1.2.1');
api.use('ecmascript');
api.use('templating', 'client');
api.use('random', 'client');
api.use('oauth2', ['client', 'server']);
api.use('oauth', ['client', 'server']);
api.use('http', 'server');
api.use('service-configuration', ['client', 'server']);
api.export('Microsoft');
api.addFiles('client/configure.html', 'client');
api.addFiles([
'server/server.js',
'server/http.js',
'server/tokens.js',
'server/graph/graph.js',
'server/graph/classes.js',
], 'server');
api.addFiles(['client/client.js', 'client/configure.js'], 'client');
});
Package.onTest(function(api) {
api.use('tinytest');
api.use('ecmascript');
api.use('ghobbs:microsoft2');
// Tests will follow soon!
api.addFiles([]);
});