Files
meteor/packages/minimongo/package.js
David Glasser e95bcb870c Get rid of duplicate random code inside minimongo.
Temporarily move the objectid-specific function into random.js.
2013-02-12 23:49:43 -08:00

27 lines
691 B
JavaScript

Package.describe({
summary: "Meteor's client-side datastore: a port of MongoDB to Javascript",
internal: true
});
Package.on_use(function (api, where) {
where = where || ['client', 'server'];
// It would be sort of nice if minimongo didn't depend on
// underscore, so we could ship it separately.
api.use(['underscore', 'json', 'ejson', 'ordered-dict', 'random'], where);
api.add_files([
'minimongo.js',
'selector.js',
'modify.js',
'diff.js',
'objectid.js'
], where);
});
Package.on_test(function (api) {
api.use('minimongo', 'client');
api.use('test-helpers', 'client');
api.use('tinytest');
api.add_files('minimongo_tests.js', 'client');
});