-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.js
34 lines (32 loc) · 1.01 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
Package.describe({
name: 'foysal:seeder',
version: '0.1.0',
// Brief, one-line summary of the package.
summary: 'Seed meteor collection automatically from simple schema.',
// URL to the Git repository containing the source code for this package.
git: 'https://github.com/foysalit/meteor-seeder',
// 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.2.1');
api.use(['ecmascript', 'underscore', 'check', 'mongo']);
api.use([
'practicalmeteor:[email protected]_1',
'aldeed:[email protected]'
], ['server']);
api.addFiles('seeder.js', ['server']);
api.export('Seeder', ['server']);
});
Package.onTest(function(api) {
api.use([
'ecmascript',
'mongo',
'aldeed:[email protected]',
'aldeed:[email protected]'
]);
api.use('tinytest');
api.use('foysal:seeder');
api.addFiles('seeder-tests.js', ['server']);
});