-
Notifications
You must be signed in to change notification settings - Fork 10
/
Copy pathpackage.js
43 lines (39 loc) · 1.08 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
/* eslint-env meteor */
Package.describe({
name: 'leaonline:oauth2-server',
version: '5.1.0',
summary: 'Node OAuth2 Server (v4) with Meteor bindings',
git: 'https://github.com/leaonline/oauth2-server.git'
})
Package.onUse(function (api) {
api.versionsFrom(['1.6', '2.3'])
api.use('[email protected]')
api.mainModule('lib/oauth.js', 'server')
})
Npm.depends({
'@node-oauth/oauth2-server': '5.1.0',
'body-parser': '1.20.0'
})
Package.onTest(function (api) {
api.use([
'lmieulet:meteor-legacy-coverage',
'lmieulet:[email protected]',
'lmieulet:meteor-packages-coverage',
'meteortesting:[email protected]'
])
api.use('ecmascript')
api.use('mongo')
api.use('jkuester:[email protected]')
api.use('dburles:mongo-collection-instances')
api.use('[email protected]')
api.use('[email protected]')
api.use('practicalmeteor:chai')
// api.mainModule('oauth-tests.js', 'server')
api.addFiles([
'tests/error-tests.js',
'tests/validation-tests.js',
'tests/model-tests.js',
'tests/webapp-tests.js',
'tests/oauth-tests.js'
], 'server')
})