-
Notifications
You must be signed in to change notification settings - Fork 2
/
package.js
43 lines (36 loc) · 1.1 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
39
40
41
42
43
Package.describe({
name: 'richsilv:dumb-collections',
version: '1.1.5',
summary: 'Meteor Collections which only sync with the server on request and are saved in local storage.',
git: 'https://github.com/richsilv/meteor-dumb-collections.git'
});
Package.on_use(function (api) {
/* Use or imply other packages.
* Example:
* api.use('ui', 'client');
* api.use('iron-router', ['client', 'server']);
*/
/*
* Add files that should be used with this
* package.
*/
api.use('[email protected]', 'client');
api.use('[email protected]', ['client', 'server']);
api.use('[email protected]', ['client', 'server']);
api.use('[email protected]', ['client']);
api.use('[email protected]', ['client']);
api.add_files('minimongo-bulk.js', ['client']);
api.add_files('richsilv:dumb-collections.js', ['client', 'server']);
/*
* Export global symbols.
*
* Example:
* api.export('GlobalSymbol');
*/
api.export('DumbCollection');
});
Package.on_test(function (api) {
api.use('richsilv:dumb-collections');
api.use('tinytest');
api.add_files('richsilv:dumb-collections_tests.js');
});