-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.js
34 lines (28 loc) · 976 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
/* global Package */
Package.describe({
name: 'mooch:notifications',
summary: 'Provides a simple API for creating notifications',
version: '0.1.0',
git: 'https://github.com/mjesuele/meteor-notifications',
});
Package.onUse(function(api) {
// Meteor releases below this version are not supported
api.versionsFrom('1.2.0.1');
// Core packages and 3rd party packages
api.use('check');
api.use('ddp');
api.use('ecmascript');
api.use('tracker');
api.use('aldeed:[email protected]');
// The files of this package
api.addFiles('shared/index.js', ['client', 'server']);
api.addFiles('server/index.js', 'server');
api.addFiles('client/index.js', 'client');
// The variables that become global for users of your package
api.export('Notifications', ['client', 'server']);
});
Package.onTest(function(api) {
api.use(['sanjo:[email protected]']);
api.use('mooch:notifications');
api.addFiles('tests/shared/index.js', ['client', 'server']);
});