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