-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpackage.js
41 lines (33 loc) · 1.11 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
Package.describe({
name : 'miro:notifications',
version : '0.1.0',
// Brief, one-line summary of the package.
summary : 'Simple custom notifications for Meteor app',
// URL to the Git repository containing the source code for this package.
git : 'https://github.com/MiroHibler/meteor-notifications.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.1.0.2' );
api.use([
'underscore'
]);
api.addFiles( 'lib/both/notifications_both.js', [ 'server', 'client' ] );
api.addFiles([
'lib/server/notifications_publications.js',
'lib/server/notifications_server.js'
], 'server' );
api.addFiles([
'lib/client/notifications_subscriptions.js',
'lib/client/notifications_client.js'
], 'client' );
api.export( 'notifications' );
api.export( 'Notifications' );
});
Package.onTest( function ( api ) {
api.use( 'tinytest' );
api.use( 'miro:notifications' );
api.addFiles( 'tests/notifications_tests.js' );
});