-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathpackage.js
More file actions
39 lines (31 loc) · 942 Bytes
/
package.js
File metadata and controls
39 lines (31 loc) · 942 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
Package.describe({
summary: 'Generate an icon font from SVG files',
version: '0.1.8',
git: 'https://github.com/andrefgneves/meteor-iconfont.git',
name: 'andrefgneves:iconfont'
});
Package.registerBuildPlugin({
name: 'andrefgneves:iconfont',
use: ['coffeescript@1.0.6'],
sources: [
'plugin/iconfont.coffee'
],
npmDependencies: {
'fs-extra': '0.16.5',
'lodash': '2.4.1',
'MD5': '1.2.1',
'svg2ttf': '1.2.0',
'svgicons2svgfont': '1.0.0',
'temp': '0.7.0',
'ttf2eot': '1.3.0',
'ttf2woff': '1.2.0',
}
});
Package.onUse(function (api) {
api.add_files('plugin/stylesheet.tpl', 'server', { isAsset: true });
});
Package.on_test(function (api) {
api.use('andrefgneves:iconfont');
api.use('tinytest');
api.add_files('iconfont_tests.js');
});