-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.js
58 lines (53 loc) · 1.39 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
Package.describe({
name: 'mwc:synthesis-blaze',
version: '1.0.16',
summary: 'Synthesis-Blaze is Meteor + Polymer + Blaze',
git: 'https://github.com/meteorwebcomponents/synthesis',
documentation: 'README.md'
});
Package.onUse(function(api) {
api.versionsFrom('1.3');
api.use('ecmascript');
api.imply('mwc:synthesis-minifier@1.0.0');
api.use("isobuild:compiler-plugin@1.0.0");
api.addFiles('synthesis.js',['client']);
api.addFiles('synthesizer-browser.js',['web.browser']);
api.addFiles('synthesizer-cordova.js',['web.cordova']);
api.export('Synthesis',["client"]);
api.export('Synthesizer',["client"]);
});
Package.onTest(function(api) {
api.use('ecmascript');
api.use('tinytest');
api.use('mwc:synthesis');
api.mainModule('synthesis-tests.js');
});
Package.registerBuildPlugin({
name: 'synthesis',
use: [
'caching-html-compiler@1.0.2',
'ecmascript@0.4.1',
'templating-tools@1.0.2',
'underscore@1.0.6',
'html-tools@1.0.7'
],
sources: [
'plugin/comment-map.js',
'plugin/constants.js',
'plugin/matchers.js',
'plugin/output.js',
'plugin/pathresolver.js',
'plugin/vulcan.js',
'plugin/synthesizer.js',
'plugin/synthesis.js'
],
npmDependencies: {
'minimize':"1.8.1",
"dom5": "1.3.1",
"es6-promise": "2.1.0",
"hydrolysis": "1.19.1",
"nopt": "3.0.1",
"path-posix": "1.0.0",
'parse5': '2.1.5'
}
});