]> git.proxmox.com Git - extjs.git/blame - extjs/examples/modern/touchtomatoes/app.json
add extjs 6.0.1 sources
[extjs.git] / extjs / examples / modern / touchtomatoes / app.json
CommitLineData
6527f429
DM
1{\r
2 /**\r
3 * The application's namespace.\r
4 */\r
5 "name": "TouchTomatoes",\r
6\r
7 /**\r
8 * The version of the application.\r
9 */\r
10 "version": "6.0.0",\r
11\r
12 /**\r
13 * The relative path to the application's markup file (html, jsp, asp, etc.).\r
14 */\r
15 "indexHtmlPath": "index.html",\r
16\r
17 /**\r
18 * Comma-separated string with the paths of directories or files to search. Any classes\r
19 * declared in these locations will be available in your class "requires" or in calls\r
20 * to "Ext.require". The "app.dir" variable below is expanded to the path where the\r
21 * application resides (the same folder in which this file is located).\r
22 */\r
23 "classpath": "app,${toolkit.name}/src",\r
24\r
25 /**\r
26 * Comma-separated string with the paths of directories or files to search. Any classes\r
27 * declared in these locations will be automatically required and included in the build.\r
28 * If any file defines an Ext JS override (using Ext.define with an "override" property),\r
29 * that override will in fact only be included in the build if the target class specified\r
30 * in the "override" property is also included.\r
31 */\r
32 "overrides": "overrides,${toolkit.name}/overrides",\r
33\r
34 /**\r
35 * The Sencha Framework for this application: "ext" or "touch".\r
36 */\r
37 "framework": "ext",\r
38\r
39 /**\r
40 * The toolkit to use. Select either "classic" or "modern".\r
41 */\r
42 "toolkit": "modern",\r
43\r
44\r
45 /**\r
46 * The name of the theme for this application.\r
47 */\r
48 "theme": "theme-neptune",\r
49\r
50 /**\r
51 * The list of required packages (with optional versions; default is "latest").\r
52 *\r
53 * For example,\r
54 *\r
55 * "requires": [\r
56 * "charts"\r
57 * ]\r
58 */\r
59 "requires": [\r
60 "font-awesome"\r
61 ],\r
62\r
63 /**\r
64 * Sass configuration properties.\r
65 */\r
66 "sass": {\r
67 /**\r
68 * The root namespace to use when mapping *.scss files to classes in the\r
69 * sass/src and sass/var directories. For example, "TestApp.view.Foo" would\r
70 * map to "sass/src/view/Foo.scss". If we changed this to "TestApp.view" then\r
71 * it would map to "sass/src/Foo.scss". To style classes outside the app's\r
72 * root namespace, change this to "". Doing so would change the mapping of\r
73 * "TestApp.view.Foo" to "sass/src/TestApp/view/Foo.scss".\r
74 */\r
75 "namespace": "TouchTomatoes",\r
76\r
77 /**\r
78 * Comma-separated list of files or folders containing extra Sass. These\r
79 * files are automatically included in the Sass compilation. By default this\r
80 * is just "etc/all.scss" to allow import directives to control the order\r
81 * other files are included.\r
82 *\r
83 * All "etc" files are included at the top of the Sass compilation in their\r
84 * dependency order:\r
85 *\r
86 * +-------+---------+\r
87 * | | base |\r
88 * | theme +---------+\r
89 * | | derived |\r
90 * +-------+---------+\r
91 * | packages | (in package dependency order)\r
92 * +-----------------+\r
93 * | application |\r
94 * +-----------------+\r
95 */\r
96 "etc": "sass/etc/all.scss,${toolkit.name}/sass/etc/all.scss",\r
97\r
98 /**\r
99 * Comma-separated list of folders containing Sass variable definitions\r
100 * files. These file can also define Sass mixins for use by components.\r
101 *\r
102 * All "var" files are included after "etc" files in the Sass compilation in\r
103 * roughly reverse dependency order:\r
104 *\r
105 * +-----------------+\r
106 * | application |\r
107 * +-------+---------+\r
108 * | | derived |\r
109 * | theme +---------+\r
110 * | | base |\r
111 * +-------+---------+\r
112 * | packages | (in package dependency order)\r
113 * +-----------------+\r
114 */\r
115 "var": "sass/var/all.scss,sass/var,${toolkit.name}/sass/var",\r
116\r
117 /**\r
118 * Comma-separated list of folders containing Sass rule files.\r
119 *\r
120 * All "src" files are included after "var" files in the Sass compilation in\r
121 * dependency order (the same order as "etc"):\r
122 *\r
123 * +-------+---------+\r
124 * | | base |\r
125 * | theme +---------+\r
126 * | | derived |\r
127 * +-------+---------+\r
128 * | packages | (in package dependency order)\r
129 * +-----------------+\r
130 * | application |\r
131 * +-----------------+\r
132 */\r
133 "src": "sass/src,${toolkit.name}/sass/src"\r
134 },\r
135\r
136 /**\r
137 * List of all JavaScript assets in the right execution order.\r
138 *\r
139 * Each item is an object with the following format:\r
140 *\r
141 * {\r
142 * // Path to file. If the file is local this must be a relative path from\r
143 * // this app.json file.\r
144 * //\r
145 * "path": "path/to/script.js", // REQUIRED\r
146 *\r
147 * // Set to true on one file to indicate that it should become the container\r
148 * // for the concatenated classes.\r
149 * //\r
150 * "bundle": false, // OPTIONAL\r
151 *\r
152 * // Set to true to include this file in the concatenated classes.\r
153 * //\r
154 * "includeInBundle": false, // OPTIONAL\r
155 *\r
156 * // Specify as true if this file is remote and should not be copied into the\r
157 * // build folder. Defaults to false for a local file which will be copied.\r
158 * //\r
159 * "remote": false, // OPTIONAL\r
160 *\r
161 * // If not specified, this file will only be loaded once, and cached inside\r
162 * // localStorage until this value is changed. You can specify:\r
163 * //\r
164 * // - "delta" to enable over-the-air delta update for this file\r
165 * // - "full" means full update will be made when this file changes\r
166 * //\r
167 * "update": "", // OPTIONAL\r
168 *\r
169 * // A value of true indicates that is a development mode only dependency.\r
170 * // These files will not be copied into the build directory or referenced\r
171 * // in the generate app.json manifest for the micro loader.\r
172 * //\r
173 * "bootstrap": false // OPTIONAL\r
174 * }\r
175 *\r
176 */\r
177 "js": [\r
178 {\r
179 "path": "app.js",\r
180 "bundle": true\r
181 }\r
182 ],\r
183\r
184 /**\r
185 * Settings specific to modern toolkit builds.\r
186 */\r
187 "modern": {\r
188 },\r
189\r
190 /**\r
191 * List of all CSS assets in the right inclusion order.\r
192 *\r
193 * Each item is an object with the following format:\r
194 *\r
195 * {\r
196 * // Path to file. If the file is local this must be a relative path from\r
197 * // this app.json file.\r
198 * //\r
199 * "path": "path/to/stylesheet.css", // REQUIRED\r
200 *\r
201 * // Specify as true if this file is remote and should not be copied into the\r
202 * // build folder. Defaults to false for a local file which will be copied.\r
203 * //\r
204 * "remote": false, // OPTIONAL\r
205 *\r
206 * // If not specified, this file will only be loaded once, and cached inside\r
207 * // localStorage until this value is changed. You can specify:\r
208 * //\r
209 * // - "delta" to enable over-the-air delta update for this file\r
210 * // - "full" means full update will be made when this file changes\r
211 * //\r
212 * "update": "" // OPTIONAL\r
213 * }\r
214 */\r
215 "css": [\r
216 {\r
217 // this entry uses an ant variable that is the calculated\r
218 // value of the generated output css file for the app,\r
219 // defined in .sencha/app/defaults.properties\r
220 "path": "${build.out.css.path}",\r
221 "bundle": true,\r
222 "exclude": ["fashion"]\r
223 }\r
224 ],\r
225\r
226 /**\r
227 * This option is used to configure the dynamic loader. At present these options\r
228 * are supported.\r
229 *\r
230 */\r
231 "loader": {\r
232 // This property controls how the loader manages caching for requests:\r
233 //\r
234 // - true: allows requests to receive cached responses\r
235 // - false: disable cached responses by adding a random "cache buster"\r
236 // - other: a string (such as the build.timestamp shown here) to allow\r
237 // requests to be cached for this build.\r
238 //\r
239 "cache": false,\r
240\r
241 // When "cache" is not true, this value is the request parameter used\r
242 // to control caching.\r
243 //\r
244 "cacheParam": "_dc"\r
245 },\r
246\r
247 /**\r
248 * Settings specific to production builds.\r
249 */\r
250 "production": {\r
251 "output": {\r
252\r
253 "appCache": {\r
254 "enable": false,\r
255 "path": "cache.appcache"\r
256 }\r
257\r
258 },\r
259 "loader": {\r
260 "cache": "${build.timestamp}"\r
261 },\r
262 "cache": {\r
263 "enable": false\r
264 }\r
265 },\r
266\r
267 /**\r
268 * Settings specific to testing builds.\r
269 */\r
270 "testing": {\r
271 },\r
272\r
273 /**\r
274 * Settings specific to development builds.\r
275 */\r
276 "development": {\r
277 },\r
278\r
279 /**\r
280 * Controls the output structure of development-mode (bootstrap) artifacts. May\r
281 * be specified by a string:\r
282 *\r
283 * "bootstrap": "${app.dir}"\r
284 *\r
285 * This will adjust the base path for all bootstrap objects, or expanded into object\r
286 * form:\r
287 *\r
288 * "bootstrap": {\r
289 * "base": "${app.dir},\r
290 * "manifest": "bootstrap.json",\r
291 * "microloader": "bootstrap.js",\r
292 * "css": "bootstrap.css"\r
293 * }\r
294 *\r
295 * You can optionally exclude entries from the manifest. For example, to exclude\r
296 * the "loadOrder" (to help development load approximate a build) you can add:\r
297 *\r
298 * "bootstrap": {\r
299 * "manifest": {\r
300 * "path": "bootstrap.json",\r
301 * "exclude": "loadOrder"\r
302 * }\r
303 * }\r
304 *\r
305 */\r
306 "bootstrap": {\r
307 "base": "${app.dir}",\r
308\r
309 "microloader": "bootstrap.js",\r
310 "css": "bootstrap.css"\r
311 },\r
312\r
313 /**\r
314 * Controls the output directory for build resources. May be set with\r
315 * either a string:\r
316 *\r
317 * "${workspace.build.dir}/${build.environment}/${app.name}"\r
318 *\r
319 * or an object containing values for various types of build artifacts:\r
320 *\r
321 * {\r
322 * "base": "${workspace.build.dir}/${build.environment}/${app.name}",\r
323 * "page": {\r
324 * "path": "../index.html",\r
325 * "enable": false\r
326 * },\r
327 * "css": "${app.output.resources}/${app.name}-all.css",\r
328 * "js": "app.js",\r
329 * "microloader": {\r
330 * "path": "microloader.js",\r
331 * "embed": true,\r
332 * "enable": true\r
333 * },\r
334 * "manifest": {\r
335 * "path": "app.json",\r
336 * "embed": false,\r
337 * "enable": "${app.output.microloader.enable}"\r
338 * },\r
339 * "resources": "resources",\r
340 * "slicer": {\r
341 * "path": "${app.output.resources}/images",\r
342 * "enable": false\r
343 * },\r
344 * // Setting the "enable" property of this object to a Truthy value will cause a Application Cache\r
345 * // manifest file to be generated based on this files appCache object. This file will then be injected\r
346 * // into the index.html file of the built application\r
347 * "appCache":{\r
348 * "enable": false"\r
349 * }\r
350 * }\r
351 *\r
352 */\r
353 "output": {\r
354 "base": "${ext.dir}/build/examples/modern/touchtomatoes",\r
355 "appCache": {\r
356 "enable": false\r
357 }\r
358 },\r
359\r
360\r
361 /**\r
362 * Controls for localStorage caching\r
363 * "cache": {\r
364 * // This property controls whether localStorage caching of this manifest file is on or off.\r
365 * // if disabled no deltas will be generated during a build and full updates will be disabled\r
366 * "enable": false,\r
367 *\r
368 * // This property allows for global toggle of deltas.\r
369 * // If set to a string the value will be used as the path to where deltas will be generated relative to you build.\r
370 * // If set to a Truthy Value the default path ok "deltas" will be used\r
371 * // If set to a Falsey value or if this property is not present deltas will be disabled and not generated.\r
372 * //\r
373 * "deltas": "deltas"\r
374 * }\r
375 */\r
376 "cache": {\r
377 "enable": false,\r
378 "deltas": false\r
379 },\r
380\r
381 /**\r
382 * Used to automatically generate cache.manifest (HTML 5 application cache manifest)\r
383 * file when you build.\r
384 */\r
385 "appCache": {\r
386 /**\r
387 * List of items in the CACHE MANIFEST section\r
388 */\r
389 "cache": [\r
390 "index.html"\r
391 ],\r
392 /**\r
393 * List of items in the NETWORK section\r
394 */\r
395 "network": [\r
396 "*"\r
397 ],\r
398 /**\r
399 * List of items in the FALLBACK section\r
400 */\r
401 "fallback": []\r
402 },\r
403\r
404 /**\r
405 * Extra resources to be copied along when build\r
406 */\r
407 "resources": [\r
408 {\r
409 "path": "resources"\r
410 }\r
411 ],\r
412\r
413 /**\r
414 * File / directory name patttern to ignore when copying to the builds. Must be a\r
415 * valid regular expression.\r
416 */\r
417 "ignore": [\r
418 "(^|/)CVS(/?$|/.*?$)"\r
419 ],\r
420\r
421 /**\r
422 * Directory path to store all previous production builds. Note that the content\r
423 * generated inside this directory must be kept intact for proper generation of\r
424 * deltas between updates.\r
425 */\r
426 "archivePath": "archive",\r
427\r
428 /**\r
429 * Additional resources used during theme slicing operations\r
430 */\r
431 "slicer": null,\r
432\r
433 /**\r
434 * Uniquely generated id for this application, used as prefix for localStorage keys.\r
435 * Normally you should never change this value.\r
436 */\r
437 "id": "3a867610-670a-11e1-a90e-4318029d18e4"\r
438}\r