This repository was archived by the owner on Jun 19, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathpackage.json
executable file
·298 lines (296 loc) · 8.57 KB
/
package.json
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
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
{
"name": "sleek",
"fullName": "Sleek",
"version": "1.6.3",
"description": "Generic-purpose nicely polished template that supports photos, videos, events, RSS feeds, status updates, contact info, and a map. The views are adapted automatically based on the datasources that you set in the configuration settings. Just make sure that you use the most appropriate datasouce type for the underlying template inputs!\n\nThe template is available in 5 different colors: blue, spicy, gray, earth and vegetal.",
"keywords": [
"generic",
"polished",
"smooth"
],
"joshfire": {
"images": {
"small": "marketing/sleek-small.jpg",
"big": "marketing/sleek-big.png"
},
"datasources": {
"main": {
"title": "Main tabs",
"multiple": true,
"maxLength": 8
}
},
"hooks": [
"loaded"
],
"devices": [
{
"devices": "phone",
"startfile": "build/phone/index.html",
"images": "marketing/small-phone.png",
"screenshots": [
"marketing/phone-screenshot1.jpg",
"marketing/phone-screenshot2.jpg",
"marketing/phone-screenshot3.jpg"
],
"orientation": "portrait"
},
{
"devices": "phone-ios",
"startfile": "build/phone/index.ios.html",
"orientation": "portrait"
},
{
"devices": "tablet",
"startfile": "build/tablet/index.html",
"images": "marketing/small-tablet.png",
"screenshots": [
"marketing/tablet-screenshot1.jpg",
"marketing/tablet-screenshot2.jpg"
],
"orientation": "landscape"
},
{
"devices": "tv",
"startfile": "build/tv/index.html",
"images": "marketing/small-tv.png",
"screenshots": [
"marketing/tv-screenshot1.jpg",
"marketing/tv-screenshot2.jpg",
"marketing/tv-screenshot3.jpg"
]
},
{
"devices": "tv-samsungsmarttv",
"startfile": "build/samsungtv/index.html"
},
{
"devices": "desktop",
"startfile": "build/desktop/index.html",
"images": "marketing/small-desktop.png",
"screenshots": [
"marketing/desktop-screenshot1.jpg",
"marketing/desktop-screenshot2.jpg"
]
}
],
"options": {
"schema": {
"language": {
"title": "Language",
"type": "select",
"enum": [
"auto",
"fr",
"en"
]
},
"color": {
"title": "Color",
"type": "string",
"enum": [
"blue",
"spicy",
"gray",
"earth",
"vegetal"
],
"default":"gray",
"required": true
},
"backgroundimage" : {
"title": "Background image for TV version",
"type": "object",
"joshfire:definedFor": [
"tv-samsungsmarttv",
"tv-web"
]
},
"tabs": {
"title": "Tabs titles",
"type": "array",
"items": {
"title": "Short tab title (max. 15 characters)",
"type": "string",
"maxLength": 15
}
},
"tabicons": {
"title": "Tabs icons",
"maxLength":8,
"type": "array",
"items": {
"title": "Tab icon",
"type": "string",
"enum": [
"contact",
"event",
"map",
"news",
"photo",
"product",
"sound",
"status",
"video"
]
}
}
},
"form": [
{
"type": "fieldset",
"legend": "Styles",
"items": [
"color",
{
"key" : "backgroundimage",
"type": "file-hosted-public"
}
]
},
{
"key": "language",
"titleMap": {
"auto": "Automatic",
"fr": "French",
"en": "English"
}
},
{
"type": "fieldset",
"legend": "Tabs",
"items": [
{
"type": "tabarray",
"items": [
{
"type": "section",
"legend": "{{value}}",
"items": [
{
"key": "tabicons[]",
"type": "imageselect",
"imageWidth": 32,
"imageHeight": 42,
"imageButtonClass": "btn-inverse",
"imagePrefix": "build/tv/images/tv-",
"imageSuffix": ".png",
"imageSelectorTitle": "Based on tab data source"
},
{
"key": "tabs[]",
"valueInLegend": true,
"value": "{{values.datasources.main[]}}"
},
{
"title": "Tab data source",
"key": "datasources.main[]"
}
]
}
]
}
]
}
]
},
"libraries": [
{
"name": "Joshfire Framework",
"homepage": "http://framework.joshfire.com",
"description": "The first open source multi-device development framework. Using only standards like HTML5 and JavaScript, it allows developers and integrators to quickly create native and dedicated web apps for browsers, Node.JS, desktops, smart phones, smartTVs and connected objects.",
"repositories": [
{
"type": "git",
"url": "https://github.com/joshfire/joshfire-framework.git"
}
],
"licenses": [
{
"type": "MIT",
"url": "https://raw.github.com/joshfire/joshfire-framework/master/LICENSE"
}
]
},
{
"name": "Klass",
"homepage": "https://github.com/ded/klass",
"description": "An expressive, cross platform JavaScript Class provider with a classical interface to prototypal inheritance.",
"repositories": [
{
"type": "git",
"url": "https://github.com/ded/klass.git"
}
],
"licenses": [
{
"type": "MIT",
"url": "license-klass.txt"
}
]
},
{
"name": "LESS",
"homepage": "http://lesscss.org",
"description": "LESS extends CSS with dynamic behavior such as variables, mixins, operations and functions. LESS runs on both the client-side (Chrome, Safari, Firefox) and server-side, with Node.js and Rhino.",
"repositories": [
{
"type": "git",
"url": "https://github.com/cloudhead/less.js.git"
}
],
"licenses": [
{
"type": "Apache-2.0",
"url": "license-less.txt"
}
]
},
{
"name": "Moment.js",
"homepage": "http://momentjs.com/",
"description": "A lightweight (3.7k) javascript date library for parsing, manipulating, and formatting dates.",
"repositories": [
{
"type": "git",
"url": "https://github.com/timrwood/moment.git"
}
],
"licenses": [
{
"type": "MIT",
"url": "license-moment.txt"
}
]
},
{
"name": "Photoswipe",
"homepage": "http://www.photoswipe.com/",
"description": "Inspired by the iOS photo viewer and Google images for mobile, PhotoSwipe is a HTML/CSS/JavaScript based image gallery specifically targeting mobile devices.",
"repositories": [
{
"type": "git",
"url": "https://github.com/codecomputerlove/PhotoSwipe.git"
}
],
"licenses": [
{
"type": "MIT",
"url": "license-photoswipe.txt"
}
]
},
{
"name": "SidJS",
"homepage": "http://www.diveintojavascript.com/projects/sidjs-load-javascript-and-stylesheets-on-demand",
"description": "SidJS is a lightweight JavaScript library used to load JavaScript scripts and CSS stylesheets on demand. It increases AJAX applications performance by loading resources when they're needed.",
"licenses": [
{
"type": "BSD-3-Clause",
"url": "license-sidjs.txt"
}
]
}
]
}
}