-
Notifications
You must be signed in to change notification settings - Fork 10
/
package.js
204 lines (188 loc) · 9.33 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
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
Package.describe({
name: "telescope-theme-crater",
summary: "Crater.io Theme"
});
Package.onUse(function (api) {
//api.use(['telescope:[email protected]']); Previously used version
api.use(['telescope:[email protected]']);
api.use(['less'], 'client');
api.addFiles([
'lib/crater.js',
], ['client', 'server']);
// Bootstrap - Base
api.addFiles([
'lib/client/stylesheets/lib/bootstrap/alerts.import.less',
'lib/client/stylesheets/lib/bootstrap/badges.import.less',
'lib/client/stylesheets/lib/bootstrap/bootstrap.import.less',
'lib/client/stylesheets/lib/bootstrap/breadcrumbs.import.less',
'lib/client/stylesheets/lib/bootstrap/button-groups.import.less',
'lib/client/stylesheets/lib/bootstrap/buttons.import.less',
'lib/client/stylesheets/lib/bootstrap/close.import.less',
'lib/client/stylesheets/lib/bootstrap/code.import.less',
'lib/client/stylesheets/lib/bootstrap/component-animations.import.less',
'lib/client/stylesheets/lib/bootstrap/dropdowns.import.less',
'lib/client/stylesheets/lib/bootstrap/forms.import.less',
'lib/client/stylesheets/lib/bootstrap/glyphicons.import.less',
'lib/client/stylesheets/lib/bootstrap/grid.import.less',
'lib/client/stylesheets/lib/bootstrap/input-groups.import.less',
'lib/client/stylesheets/lib/bootstrap/jumbotron.import.less',
'lib/client/stylesheets/lib/bootstrap/labels.import.less',
'lib/client/stylesheets/lib/bootstrap/list-group.import.less',
'lib/client/stylesheets/lib/bootstrap/media.import.less',
'lib/client/stylesheets/lib/bootstrap/mixins.import.less',
'lib/client/stylesheets/lib/bootstrap/modals.import.less',
'lib/client/stylesheets/lib/bootstrap/navbar.import.less',
'lib/client/stylesheets/lib/bootstrap/navs.import.less',
'lib/client/stylesheets/lib/bootstrap/normalize.import.less',
'lib/client/stylesheets/lib/bootstrap/pager.import.less',
'lib/client/stylesheets/lib/bootstrap/pagination.import.less',
'lib/client/stylesheets/lib/bootstrap/panels.import.less',
'lib/client/stylesheets/lib/bootstrap/popovers.import.less',
'lib/client/stylesheets/lib/bootstrap/carousel.import.less',
'lib/client/stylesheets/lib/bootstrap/print.import.less',
'lib/client/stylesheets/lib/bootstrap/progress-bars.import.less',
'lib/client/stylesheets/lib/bootstrap/responsive-embed.import.less',
'lib/client/stylesheets/lib/bootstrap/responsive-utilities.import.less',
'lib/client/stylesheets/lib/bootstrap/scaffolding.import.less',
'lib/client/stylesheets/lib/bootstrap/tables.import.less',
'lib/client/stylesheets/lib/bootstrap/thumbnails.import.less',
'lib/client/stylesheets/lib/bootstrap/tooltip.import.less',
'lib/client/stylesheets/lib/bootstrap/type.import.less',
'lib/client/stylesheets/lib/bootstrap/utilities.import.less',
'lib/client/stylesheets/lib/bootstrap/variables.import.less',
'lib/client/stylesheets/lib/bootstrap/wells.import.less'
], ['client']);
// Bootstrap - Mixins
api.addFiles([
'lib/client/stylesheets/lib/bootstrap/mixins/alerts.import.less',
'lib/client/stylesheets/lib/bootstrap/mixins/background-variant.import.less',
'lib/client/stylesheets/lib/bootstrap/mixins/border-radius.import.less',
'lib/client/stylesheets/lib/bootstrap/mixins/buttons.import.less',
'lib/client/stylesheets/lib/bootstrap/mixins/center-block.import.less',
'lib/client/stylesheets/lib/bootstrap/mixins/clearfix.import.less',
'lib/client/stylesheets/lib/bootstrap/mixins/forms.import.less',
'lib/client/stylesheets/lib/bootstrap/mixins/gradients.import.less',
'lib/client/stylesheets/lib/bootstrap/mixins/grid-framework.import.less',
'lib/client/stylesheets/lib/bootstrap/mixins/grid.import.less',
'lib/client/stylesheets/lib/bootstrap/mixins/hide-text.import.less',
'lib/client/stylesheets/lib/bootstrap/mixins/image.import.less',
'lib/client/stylesheets/lib/bootstrap/mixins/labels.import.less',
'lib/client/stylesheets/lib/bootstrap/mixins/list-group.import.less',
'lib/client/stylesheets/lib/bootstrap/mixins/nav-divider.import.less',
'lib/client/stylesheets/lib/bootstrap/mixins/nav-vertical-align.import.less',
'lib/client/stylesheets/lib/bootstrap/mixins/opacity.import.less',
'lib/client/stylesheets/lib/bootstrap/mixins/pagination.import.less',
'lib/client/stylesheets/lib/bootstrap/mixins/panels.import.less',
'lib/client/stylesheets/lib/bootstrap/mixins/progress-bar.import.less',
'lib/client/stylesheets/lib/bootstrap/mixins/reset-filter.import.less',
'lib/client/stylesheets/lib/bootstrap/mixins/resize.import.less',
'lib/client/stylesheets/lib/bootstrap/mixins/responsive-visibility.import.less',
'lib/client/stylesheets/lib/bootstrap/mixins/size.import.less',
'lib/client/stylesheets/lib/bootstrap/mixins/tab-focus.import.less',
'lib/client/stylesheets/lib/bootstrap/mixins/table-row.import.less',
'lib/client/stylesheets/lib/bootstrap/mixins/text-emphasis.import.less',
'lib/client/stylesheets/lib/bootstrap/mixins/text-overflow.import.less',
'lib/client/stylesheets/lib/bootstrap/mixins/vendor-prefixes.import.less'
], ['client']);
// Ionicons - Fonts
api.addAssets([
'lib/public/fonts/ionicons.eot',
'lib/public/fonts/ionicons.svg',
'lib/public/fonts/ionicons.ttf',
'lib/public/fonts/ionicons.woff'
], ['client']);
// Ionicons - CSS
api.addFiles([
'lib/client/stylesheets/lib/ionicons/_ionicons-font.import.less',
'lib/client/stylesheets/lib/ionicons/_ionicons-icons.import.less',
'lib/client/stylesheets/lib/ionicons/_ionicons-variables.import.less',
'lib/client/stylesheets/lib/ionicons/ionicons.less'
], ['client']);
// Custom CSS - Base
api.addFiles([
'lib/client/stylesheets/base/variables.import.less',
'lib/client/stylesheets/base/mixins.import.less',
'lib/client/stylesheets/base/type.import.less',
'lib/client/stylesheets/base/mobile.import.less',
'lib/client/stylesheets/crater.less'
], ['client']);
// Custom CSS - Components
api.addFiles([
'lib/client/stylesheets/components/avatars.import.less',
'lib/client/stylesheets/components/buttons.import.less',
'lib/client/stylesheets/components/comment-item.import.less',
'lib/client/stylesheets/components/forms.import.less',
'lib/client/stylesheets/components/jumbotron.import.less',
'lib/client/stylesheets/components/navs.import.less',
'lib/client/stylesheets/components/newsletter-banner.import.less',
'lib/client/stylesheets/components/post-detail.import.less',
'lib/client/stylesheets/components/post-item.import.less',
'lib/client/stylesheets/components/post-list.import.less',
'lib/client/stylesheets/components/telescope.import.less',
'lib/client/stylesheets/components/update-banner.import.less',
'lib/client/stylesheets/components/user-profile.import.less',
'lib/client/stylesheets/components/accounts-ui.import.less'
], ['client']);
// Custom CSS - Layout
api.addFiles([
'lib/client/stylesheets/layout/content.import.less',
'lib/client/stylesheets/layout/footer.import.less',
'lib/client/stylesheets/layout/header.import.less',
'lib/client/stylesheets/layout/tabs.import.less'
], ['client']);
// Images
api.addAssets([
'lib/public/images/crater.png'
], ['client']);
// JavaScript
api.addFiles([
'lib/client/compatibility/bootstrap.js'
], ['client']);
// Custom Templates
api.addFiles([
'lib/client/templates/comments/comment_item.html',
'lib/client/templates/common/footer.html',
'lib/client/templates/common/layout.html',
'lib/client/templates/nav/nav.html',
'lib/client/templates/nav/nav.js',
'lib/client/templates/nav/admin_menu.html',
'lib/client/templates/nav/categories_menu.html',
'lib/client/templates/nav/notifications_menu.html',
'lib/client/templates/nav/user_menu.html',
'lib/client/templates/nav/user_menu.js',
'lib/client/templates/nav/search.html',
'lib/client/templates/nav/submit_button.html',
'lib/client/templates/nav/tabs.html',
'lib/client/templates/nav/tabs.js',
'lib/client/templates/posts/modules/post_admin.html',
'lib/client/templates/posts/modules/post_avatars.html',
'lib/client/templates/posts/modules/post_avatars.js',
'lib/client/templates/posts/modules/post_categories.html',
'lib/client/templates/posts/modules/post_discuss.html',
'lib/client/templates/posts/modules/post_domain.html',
'lib/client/templates/posts/modules/post_domain.js',
'lib/client/templates/posts/modules/post_info.html',
'lib/client/templates/posts/modules/post_vote.html',
'lib/client/templates/posts/modules/post_vote.js',
'lib/client/templates/posts/post_body.html',
'lib/client/templates/posts/posts_load_more.html',
'lib/client/templates/posts/post_subscribe.html',
'lib/client/templates/posts/post_subscribe.js',
'lib/client/templates/users/user_profile.html',
'lib/client/templates/users/user_profile.js',
'lib/client/templates/users/profile/user_comments.html',
'lib/client/templates/users/profile/user_downvoted_posts.html',
'lib/client/templates/users/profile/user_info.html',
'lib/client/templates/users/profile/user_posts.html',
'lib/client/templates/users/profile/user_upvoted_posts.html',
'lib/client/templates.js'
], ['client']);
// Custom Configuration
api.export([
'viewNav',
'postHeading',
'postModules',
'postMeta',
'heroModules'
]);
});