forked from maka-io/maka-rest
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.js
38 lines (31 loc) · 985 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
35
36
37
38
Package.describe({
name: 'maka:rest',
summary: 'Create authenticated REST APIs in Meteor 1.10.2+ via HTTP/HTTPS',
version: '2.0.6',
git: 'https://github.com/maka-io/maka-rest.git'
});
Npm.depends({
'url-parse': '1.1.7',
'@apidevtools/json-schema-ref-parser': '9.0.1',
'yamljs': '0.3.0',
'limiter': '1.1.5'
});
Package.onUse(function (api) {
// Minimum Meteor version
api.versionsFrom(['1.10.2','2.3']);
// Meteor dependencies
api.use('check');
api.use('underscore');
api.use('ecmascript');
api.use('[email protected] || 2.0.0');
api.use('simple:[email protected]');
//api.addFiles('lib/auth.js', 'server');
//api.addFiles('lib/route.js', 'server');
//api.addFiles('lib/restivus.js', 'server');
// api.addFiles('lib/restivus-swagger.js', 'server');
// Exports
//api.export('Restivus', 'server');
api.mainModule('lib/restivus.js', 'server');
});
Package.onTest(function (api) {
});