-
Notifications
You must be signed in to change notification settings - Fork 13
/
package.js
82 lines (72 loc) · 1.7 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
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
Package.describe({
name: 'timbrandin:blaze-react',
version: '0.4.0',
summary: 'React templates for Meteor',
git: 'https://github.com/timbrandin/blaze-react',
documentation: 'README.md'
});
Package.registerBuildPlugin({
name: 'blaze-react',
use: [
'[email protected]_1',
],
sources: [
// 'lib/xregexp.js',
'lib/template-regex.js',
'lib/react-regex.js',
'lib/react-template-compiler.js',
'plugin/plugin.js'
],
npmDependencies: {
'xregexp': '3.0.0'
}
});
Package.onUse(function (api) {
api.versionsFrom('1.2.1');
api.use([
'isobuild:[email protected]',
'[email protected]_1',
'check',
'minimongo'
]);
api.imply([
'[email protected]_1',
'kadira:[email protected]',
'timbrandin:[email protected]',
'timbrandin:[email protected]'
]);
api.use('kadira:[email protected]', ['client', 'server'], {weak: true});
api.addFiles([
'lib/blaze-react.jsx',
'lib/create-from-blaze.js',
'lib/fragment.jsx',
'lib/inject.jsx',
'lib/context-proxy.js'
]);
api.export(['ReactTemplate', 'Template', 'Fragment', 'Inject']);
});
Npm.depends({'xregexp': '3.0.0'});
Package.onTest(function (api) {
api.use([
'[email protected]_1',
]);
api.addFiles([
'lib/template-regex.js',
'lib/react-regex.js',
'lib/react-template-compiler.js'
]);
api.use("tinytest");
api.use("timbrandin:blaze-react");
api.addFiles("test/test.js", "server");
});