mirror of
https://github.com/meteor/meteor.git
synced 2026-05-02 03:01:46 -04:00
27 lines
691 B
JavaScript
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');
|
|
});
|