forked from Slava/meteor-rethinkdb
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.js
42 lines (36 loc) · 908 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
38
39
40
41
42
Package.describe({
name: 'simple:rethink',
version: '0.0.2',
summary: 'RethinkDB support for Meteor.',
documentation: 'README.md',
git: "https://github.com/Slava/meteor-rethinkdb.git"
});
Npm.depends({
rethinkdb: '2.0.0'
});
Package.onUse(function(api) {
api.versionsFrom('1.0');
api.use('tracker', 'client');
api.use('random', 'client');
api.use('ddp', 'client');
api.addFiles([
'init.js',
'monkey-patching.js',
'rethink.js'
], 'server');
api.addFiles([
'_build/rethink-query-builder.js',
'_build/rethink-reqlite.js',
'init.js',
'monkey-patching.js',
'rethink-client.js',
'rethink-client-utils.js',
'reql-client-errors.js'
], 'client');
api.export('Rethink');
});
Package.onTest(function(api) {
api.use(['mike:mocha-package', 'practicalmeteor:chai']);
api.use('simple:rethink');
api.addFiles('tests/tests.js', 'server');
});