-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.js
27 lines (25 loc) · 881 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: 'hexsprite:mock-mongo-id',
version: '0.2.0',
summary:
'Generate non-random document IDs for Mongo.Collection for testing purposes',
// URL to the Git repository containing the source code for this package.
git: 'https://github.com/hexsprite/meteor-mock-mongo-id',
// By default, Meteor will default to using README.md for documentation.
// To avoid submitting documentation, set this field to null.
documentation: 'README.md',
testOnly: true,
})
Package.onUse(function (api) {
api.versionsFrom('1.6.0.1')
api.use('[email protected] || 3.0.0')
api.use('mongo')
api.use('meteortesting:[email protected]')
api.mainModule('meteor-mock-id.ts', 'server')
})
Package.onTest(function (api) {
api.use('typescript')
api.use('tinytest')
api.use('hexsprite:mock-mongo-id')
api.mainModule('meteor-mock-id-tests.ts', 'server')
})