-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.js
36 lines (33 loc) · 1.06 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
/* eslint-env meteor */
Package.describe({
name: 'leaonline:http-factory',
version: '1.1.0',
// Brief, one-line summary of the package.
summary: 'Create Meteor connect HTTP middleware. Lightweight. Simple.',
// URL to the Git repository containing the source code for this package.
git: 'https://github.com/leaonline/http-factory.git',
// By default, Meteor will default to using README.md for documentation.
// To avoid submitting documentation, set this field to null.
documentation: 'README.md'
})
Package.onUse(function (api) {
api.versionsFrom(['1.6', '2.3'])
api.use([ 'ecmascript', 'ejson', 'leaonline:[email protected]' ], 'server')
api.mainModule('http-factory.js', 'server')
})
Package.onTest(function (api) {
Npm.depends({
chai: '4.2.0',
'simpl-schema': '1.6.2',
'body-parser': '1.19.2'
})
api.use('ecmascript')
api.use('random')
api.use('mongo')
api.use('check')
api.use('http')
api.use('jkuester:http')
api.use('meteortesting:mocha')
api.use('leaonline:http-factory')
api.mainModule('http-factory-tests.js', 'server')
})