-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.js
34 lines (29 loc) · 1.15 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
Package.describe({
name: 'poetic:material-design-lite',
version: '0.0.1',
// Brief, one-line summary of the package.
summary: 'Material design lite for meteor with local icon fonts',
// URL to the Git repository containing the source code for this package.
git: 'https://github.com/poetic/meteor-material-design-lite.git',
// By default, Meteor will default to using README.md for documentation.
// To avoid submitting documentation, set this field to null.
documentation: 'README.md'
});
Npm.depends({
'material-design-lite': '1.0.0-3',
'material-design-icons': '2.0.0'
});
Package.onUse(function(api) {
api.versionsFrom('1.1.0.2');
var mdlDir = '.npm/package/node_modules/material-design-lite/';
api.addFiles(mdlDir + 'material.min.css', 'client');
api.addFiles(mdlDir + 'material.min.js', 'client');
var mdiDir = '.npm/package/node_modules/material-design-icons/iconfont/';
api.addFiles([
mdiDir + 'MaterialIcons-Regular.eot',
mdiDir + 'MaterialIcons-Regular.ttf',
mdiDir + 'MaterialIcons-Regular.woff',
mdiDir + 'MaterialIcons-Regular.woff2'
], 'client');
api.addFiles('material-design-icons.css', 'client');
});