-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.js
35 lines (33 loc) · 1.38 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
Package.describe({
name: 'brewhk:crate',
version: '0.0.1',
// Brief, one-line summary of the package.
summary: 'Flexible shopping cart package for Meteor',
// URL to the Git repository containing the source code for this package.
git: 'https://github.com/brewhk/crate.git',
// By default, Meteor will default to using README.md for documentation.
// To avoid submitting documentation, set this field to null.
documentation: 'README.md'
});
Package.onUse(function(api) {
api.versionsFrom('1.2.1');
api.use(['templating'], ['client']);
api.use(['alanning:roles@1.2.14', 'dburles:mongo-collection-instances@0.3.5'], ['server']);
api.use(['mongo', 'ecmascript', 'accounts-base', 'check', 'stevezhu:lodash@0.0.0 || 1.0.0 || 3.0.0 || 4.0.0', 'aldeed:simple-schema@1.0.0']);
api.addFiles('collections.js', ['client', 'server']);
api.addFiles('server/functions.js', ['server']);
api.addFiles('server/schema.js', ['server']);
api.addFiles('server/publications.js', ['server']);
api.addFiles('server/methods.js', ['server']);
api.addFiles('client/base/base.js', ['client']);
api.addFiles('client/crate.html', ['client']);
api.addFiles('client/crate.js', ['client']);
api.export('Stevedore', ['client']);
api.export('Crate');
});
Package.onTest(function(api) {
api.use('ecmascript');
api.use('tinytest');
api.use('brewhk:crate');
api.addFiles('crate-tests.js');
});