-
-
Notifications
You must be signed in to change notification settings - Fork 76
/
package.js
37 lines (29 loc) · 981 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
28
29
30
31
32
33
34
35
36
37
Package.describe({
name: "ground:db",
version: "0.0.0-semantic-release",
summary: "Ground Meteor.Collections offline",
git: "https://github.com/GroundMeteor/db.git"
});
Npm.depends({
localforage: '1.9.0',
});
Package.onUse(function (api) {
api.versionsFrom(['1.3', '2.3']);
api.use(['ecmascript', 'mongo-id', 'reactive-var', 'diff-sequence', 'minimongo']);
api.use([
'ejson',
], ['client', 'server']);
api.export('Ground');
api.use(['tracker'], 'client');
api.use(['dispatch:[email protected]'], 'client', { weak: true });
api.mainModule('lib/client/ground.db.js', 'client');
api.mainModule('lib/server/ground.db.js', 'server');
});
Package.onTest(function (api) {
api.use('ground:db', ['client']);
api.use('test-helpers', 'client');
api.use(['tinytest', 'underscore', 'ejson', 'ordered-dict',
'random', 'tracker']);
api.addFiles('groundDB.client.tests.js', 'client');
api.addFiles('groundDB.server.tests.js', 'server');
});