forked from mikowals/batch-insert
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.js
More file actions
26 lines (23 loc) · 750 Bytes
/
Copy pathpackage.js
File metadata and controls
26 lines (23 loc) · 750 Bytes
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
Package.describe({
summary: "Insert multiple documents to mongo collection with one db call.",
version: "1.1.14",
name: "mikowals:batch-insert",
git: "https://github.com/mikowals/batch-insert.git"
});
Npm.strip({
mongodb: ["test/"]
});
Package.onUse( function( api ) {
api.versionsFrom('METEOR@1.4.2');
api.use('npm-mongo', 'server');
api.use(['mongo', 'ddp','ejson','underscore', 'check']);
api.use('insecure', {weak: true});
api.imply(['mongo', 'ddp']);
api.addFiles('batch-insert-server.js','server');
api.addFiles('batch-insert-common.js');
});
Package.onTest( function( api ) {
api.use(['tinytest','test-helpers', 'random', 'mongo']);
api.use('mikowals:batch-insert');
api.addFiles('batch-insert-tests.js');
});