forked from komentify/meteor-comments-ui
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.js
38 lines (32 loc) · 1.26 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
Package.describe({
name: 'arkham:comments-ui',
summary: 'Simple templates for disqus-like comment functionality',
version: '0.2.11',
git: 'https://github.com/ARKHAM-Enterprises/meteor-comments-ui.git'
});
Package.onUse(function(api) {
// Meteor Version
api.versionsFrom('[email protected]');
// Meteor Core Dependencies
api.use(['[email protected]'], { weak: true });
api.use([
'underscore', 'mongo-livedata', 'templating', 'jquery', 'check', '[email protected]_2', 'tracker', 'check', 'session', 'random'
]);
// Atmosphere Package Dependencies
api.use([
'aldeed:[email protected]'
]);
// Package specific globals and files
api.addFiles('lib/model.js');
api.addFiles(['lib/templates.html', 'lib/templates/commentsBox.less']);
api.addFiles(['lib/ui.js', 'lib/templates/commentsBox.js'], 'client');
api.export('Comments');
});
Package.onTest(function(api) {
api.use(['tinytest', 'accounts-password', 'underscore']);
api.use('arkham:comments-ui');
api.addFiles('tests/api-tests.js');
api.addFiles('tests/ui-tests.js', 'client');
});