forked from Meteor-Community-Packages/ground-db
-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.js
38 lines (33 loc) · 1.08 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
35
36
37
38
Package.describe({
name: "rtnpro:grounddb",
version: "0.1.4",
summary: "Ground Meteor.Collections offline",
git: "https://github.com/waartaa/Meteor-GroundDB.git"
});
Package.onUse(function (api) {
"use strict";
api.export && api.export('GroundDB');
api.export && api.export('_gDB', ['client', 'server'], {testOnly: true});
api.use([
'raix:[email protected]'
], ['client', 'server']);
api.use('[email protected]', ['client', 'server']);
api.use(['[email protected]'], 'client');
//api.use([], 'server');
//api.use(['localstorage', 'ejson'], 'client');
api.addFiles('groundDB.client.js', 'client');
api.addFiles('groundDB.server.js', 'server');
});
Package.onTest(function (api) {
api.use('rtnpro:grounddb', ['client']);
api.use('test-helpers', 'client');
api.use(['tinytest', 'underscore', 'ejson', 'ordered-dict',
'random', 'deps']);
api.addFiles('groundDB.client.tests.js', 'client');
api.addFiles('groundDB.server.tests.js', 'server');
});