forked from belisarius222/Meteor-handlebar-helpers
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.js
40 lines (32 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
35
36
37
38
39
40
Package.describe({
git: 'https://github.com/raix/Meteor-handlebar-helpers.git',
name: 'raix:handlebar-helpers',
version: '0.2.5',
summary: "Handlebar helpers"
});
Package.onUse(function (api) {
api.versionsFrom('1.0');
// Spark engine requires 'handlebars', Meteor UI requires 'templating'
api.use([
'ui',
'session', // we add Session to the helper scope
'deps'
], 'client'); //Needed by helpers for test and live,
api.use('underscore', ['client', 'server']);
api.export('Helpers');
api.addFiles('common.js', ['client', 'server']);
api.addFiles('helpers.operators.js', 'client');
});
Package.onTest(function (api) {
api.use(['tinytest',
'ui',
'test-helpers',
'session',
'templating',
'blaze',
'mongo-livedata']);
api.use('raix:handlebar-helpers');
api.addFiles(['helpers_tests.html',
'helpers_tests.js',
], 'client');
});