-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathpackage.js
95 lines (86 loc) · 2.61 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
83
84
85
86
87
88
89
90
91
92
93
94
95
Package.describe({
name: 'fabienb4:materialize-components',
version: '0.2.0',
// Brief, one-line summary of the package.
summary: 'Easy to use templates for Materialize.',
// URL to the Git repository containing the source code for this package.
git: 'https://github.com/fabienb4/meteor-materialize-components.git',
// By default, Meteor will default to using README.md for documentation.
// To avoid submitting documentation, set this field to null.
documentation: 'README.md'
});
Package.onUse(function(api) {
api.versionsFrom('1.2.0.1');
api.use([
'ecmascript',
'jquery',
'mongo',
'underscore',
'stevezhu:lodash@3.10.1',
'aldeed:simple-schema@1.3.3',
'aldeed:collection2@2.5.0'
], ['client', 'server']);
api.imply([
'aldeed:simple-schema',
'aldeed:collection2'
], ['client', 'server']);
api.use([
'templating'
], 'client');
api.addFiles([
'materialize_ext.js'
], ['client', 'server']);
// collections
api.addFiles([
'collections/_.js',
'collections/cards.js',
'collections/collapsibles.js',
'collections/collections.js',
'collections/parallaxes.js',
'collections/sliders.js'
], ['client', 'server']);
// schemas
api.addFiles([
'schemas/_.js',
'schemas/cards.js',
'schemas/collapsibles.js',
'schemas/collections.js',
'schemas/parallaxes.js',
'schemas/sliders.js'
], ['client', 'server']);
// templates
api.addFiles([
// basic components
'components/basic/badge.html',
'components/basic/button.html',
'components/basic/chip.html',
'components/basic/dropdown.html',
'components/basic/icon.html',
'components/basic/input.html',
'components/basic/modal.html',
'components/basic/navbar.html',
'components/basic/preloader.html',
'components/basic/progress.html',
'components/basic/searchbar.html',
'components/basic/tabs.html',
'components/basic/button.js',
'components/basic/icon.js',
'components/basic/modal.js',
'components/basic/navbar.js',
'components/basic/preloader.js',
'components/basic/progress.js',
'components/basic/tabs.js',
// advanced components
'components/advanced/card.html',
'components/advanced/collapsible.html',
'components/advanced/collection.html',
'components/advanced/parallax.html',
'components/advanced/slider.html',
'components/advanced/collapsible.js',
'components/advanced/parallax.js',
'components/advanced/slider.js',
// custom components
'components/custom/loading-screen.html'
], 'client');
api.export(['Materialize', 'Components'], ['client', 'server']);
});