-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathpackage.js
42 lines (38 loc) · 947 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
39
40
41
42
/* @flow */
/* global Package: false, Npm: false */
Package.describe({
name: 'mhagmajer:server-router',
version: '1.2.5',
summary: 'Server router with authentication for Meteor',
git: 'https://github.com/mhagmajer/server-router',
documentation: 'README.md',
});
Npm.depends({
'path-to-regexp': '1.7.0',
'query-string': '4.3.4',
'url-parse': '1.1.9',
invariant: '2.2.2',
'babel-plugin-syntax-flow': '6.18.0',
'babel-plugin-transform-flow-strip-types': '6.22.0',
});
Package.onUse((api) => {
api.versionsFrom('1.11');
api.use([
'underscore',
'ejson',
'ecmascript',
'modules',
'accounts-base',
'webapp',
]);
api.mainModule('src/server/server-router.js', 'server');
api.mainModule('src/client/server-router-client.js', 'client');
});
Package.onTest((api) => {
api.use([
'ecmascript',
'tinytest',
'mhagmajer:server-router',
]);
api.mainModule('server-router-tests.js');
});