-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.js
27 lines (25 loc) · 924 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
Package.describe({
name: 'easy:graphqlizer',
version: '0.2.0',
summary: 'Make your mongo collections accessible over a graphql endpoint',
git: 'https://github.com/matteodem/graphqlizer',
documentation: 'README.md',
})
Package.onUse(function(api) {
api.versionsFrom('1.4.3.2')
api.use(['ecmascript', 'check', 'aldeed:simple-schema@1.5.3'], 'server')
api.use(['apollo@2.0.0'], 'server', { weak: true })
api.mainModule('./lib/index.js', 'server')
})
Package.onTest(function(api) {
api.use(['ecmascript', 'tinytest', 'modules', 'aldeed:simple-schema@1.5.3'], 'server')
api.use('easy:graphqlizer', 'server')
api.addFiles([
'./tests/TypeDefGeneratorTest.js', // deprecated
'./tests/ResolversGeneratorTest.js',
'./tests/TypeFieldsStructureMapperTest.js',
'./tests/GraphqlCollectionConfigCreatorTest.js',
'./tests/TypeDefApiTest.js',
'./tests/ResolverApiTest.js',
], 'server')
})