-
Notifications
You must be signed in to change notification settings - Fork 13
Expand file tree
/
Copy pathpackage.js
More file actions
38 lines (33 loc) · 899 Bytes
/
package.js
File metadata and controls
38 lines (33 loc) · 899 Bytes
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
Npm.depends({
"handlebars": "1.0.10"
});
Package.describe({
summary: "Allows handlebars templates to be defined on the server in .handlebars files",
version: "0.2.0"
});
Package._transitional_registerBuildPlugin({
name: "compileServerHandlebarsTemplates",
use: ["handlebars"],
sources: [
'plugin/compile-handlebars.js'
]
});
Package.on_use(function (api) {
api.versionsFrom('METEOR-CORE@0.9.0-rc12');
api.use(['handlebars', 'underscore'], 'server');
api.add_files('handlebars-server.js', 'server');
api.export('Handlebars', 'server');
api.export('OriginalHandlebars', 'server');
});
Package.on_test(function (api) {
api.use([
'cmather:handlebars-server',
'tinytest',
'test-helpers'
], 'server');
api.add_files([
'handlebars-server-tests.handlebars',
'handlebars-server-tests-2.handlebars',
'handlebars-server-tests.js'
], 'server');
});