forked from stubailo/meteor-markdown-templating
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.js
46 lines (41 loc) · 1.04 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
42
43
44
45
46
Package.describe({
summary: "Define templates inside .md files.",
version: '1.2.7',
name: "simple:markdown-templating",
git: "https://github.com/stubailo/meteor-markdown-templating"
});
// Today, this package is closely intertwined with Showdown and Spacebars
Package._transitional_registerBuildPlugin({
name: "compileMarkdownTemplates",
use: [
'simple:[email protected]'
],
sources: [
'plugin/markdown-scanner.js',
'plugin/compile-templates.js'
]
});
// This on_use describes the *runtime* implications of using this package.
Package.onUse(function (api) {
api.versionsFrom("0.9.1");
api.imply(['templating'], 'client');
});
Package.onTest(function (api) {
api.use([
"tinytest",
"simple:markdown-templating",
"underscore",
"spacebars-compiler",
"showdown"
]);
api.addFiles([
"plugin/markdown-scanner.js",
"tests/tests.js"
], "server");
api.addFiles([
"tests/test.md"
], "server", {asset: true});
});