-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.js
33 lines (30 loc) · 1.1 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
/* eslint-env meteor */
Package.describe({
name: 'leaonline:method-factory',
version: '2.0.2',
// Brief, one-line summary of the package.
summary: 'Create validated Meteor methods. Lightweight. Simple.',
// URL to the Git repository containing the source code for this package.
git: 'https://github.com/leaonline/method-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.8.0', '3.0.1'])
api.use('ecmascript', 'server')
api.use('mdg:[email protected]', 'server')
api.mainModule('method-factory.js', 'server')
})
Package.onTest(function (api) {
Npm.depends({ chai: '4.2.0' })
api.versionsFrom(['3.0.1'])
api.use('ecmascript')
api.use('mongo')
api.use('random')
api.use('mdg:[email protected]')
api.use('aldeed:[email protected] || 2.0.0')
api.use('meteortesting:[email protected] || 3.2.0')
api.use('leaonline:method-factory')
api.mainModule('method-factory-tests.js', 'server')
})