forked from robfallows/tunguska-imgur
-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathpackage.js
57 lines (48 loc) · 1.7 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
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
Package.describe({
name: 'apinf:fiware',
version: '0.2.1',
summary: 'OAuth handler for FIWARE IdM',
git: 'https://github.com/apinf/apinf-fiware',
documentation: 'README.md'
});
Package.onUse(function(api) {
api.versionsFrom('1.2.1');
api.use('ecmascript');
api.use('accounts-ui', ['client', 'server']);
api.use('oauth2', ['client', 'server']);
api.use('oauth', ['client', 'server']);
api.use('http', ['server']);
api.use(['underscore', 'service-configuration'], ['client', 'server']);
api.use(['random', 'templating'], 'client');
api.export('Fiware');
api.addFiles(
['fiware_configure.html', 'fiware_configure.js'],
'client');
api.addFiles('fiware_server.js', 'server');
api.addFiles('fiware_client.js', 'client');
api.addFiles('fiware_oauth_config.js', ['client', 'server']);
});
Npm.depends({
'nock': '9.0.14'
});
Package.onTest(function(api) {
api.versionsFrom('1.2.1');
api.use('ecmascript');
api.use('accounts-ui', ['client', 'server']);
api.use('oauth2', ['client', 'server']);
api.use('oauth', ['client', 'server']);
api.use('http', ['server']);
api.use(['underscore', 'service-configuration'], ['client', 'server']);
api.use(['random', 'templating'], 'client');
api.use('practicalmeteor:mocha');
api.export('Fiware');
api.addFiles(
['fiware_configure.html', 'fiware_configure.js'],
'client');
api.addFiles('fiware_oauth_config.js', ['client', 'server']);
api.addFiles('fiware_server.js', 'server');
api.addFiles('tests/fiware_oauth_config.test.js', 'server');
api.addFiles('tests/fiware_server.test.js', 'server');
api.addFiles('tests/mock.data.js', ['client', 'server']);
api.addFiles('tests/fiware_client.test.js', 'client');
});