]>
Commit | Line | Data |
---|---|---|
6527f429 DM |
1 | {\r |
2 | /**\r | |
3 | * The application's namespace.\r | |
4 | */\r | |
5 | "name": "Oreilly",\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-neptune",\r | |
48 | \r | |
49 | /**\r | |
50 | * The list of required packages (with optional versions; default is "latest").\r | |
51 | */\r | |
52 | "requires": [\r | |
53 | "ux",\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": "Oreilly",\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 | \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 | "appCache": {\r | |
253 | "enable": false,\r | |
254 | "path": "cache.appcache"\r | |
255 | }\r | |
256 | },\r | |
257 | \r | |
258 | "loader": {\r | |
259 | "cache": "${build.timestamp}"\r | |
260 | },\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 | "microloader": "bootstrap.js",\r | |
309 | "css": "bootstrap.css"\r | |
310 | },\r | |
311 | \r | |
312 | /**\r | |
313 | * Controls the output directory for build resources. May be set with\r | |
314 | * either a string:\r | |
315 | *\r | |
316 | * "${workspace.build.dir}/${build.environment}/${app.name}"\r | |
317 | *\r | |
318 | * or an object containing values for various types of build artifacts:\r | |
319 | *\r | |
320 | * {\r | |
321 | * "base": "${workspace.build.dir}/${build.environment}/${app.name}",\r | |
322 | * "page": {\r | |
323 | * "path": "../index.html",\r | |
324 | * "enable": false\r | |
325 | * },\r | |
326 | * "css": "${app.output.resources}/${app.name}-all.css",\r | |
327 | * "js": "app.js",\r | |
328 | * "microloader": {\r | |
329 | * "path": "microloader.js",\r | |
330 | * "embed": true,\r | |
331 | * "enable": true\r | |
332 | * },\r | |
333 | * "manifest": {\r | |
334 | * "path": "app.json",\r | |
335 | * "embed": false,\r | |
336 | * "enable": "${app.output.microloader.enable}"\r | |
337 | * },\r | |
338 | * "resources": "resources",\r | |
339 | * "slicer": {\r | |
340 | * "path": "${app.output.resources}/images",\r | |
341 | * "enable": false\r | |
342 | * },\r | |
343 | * // Setting the "enable" property of this object to a Truthy value will cause a Application Cache\r | |
344 | * // manifest file to be generated based on this files appCache object. This file will then be injected\r | |
345 | * // into the index.html file of the built application\r | |
346 | * "appCache":{\r | |
347 | * "enable": false"\r | |
348 | * }\r | |
349 | * }\r | |
350 | *\r | |
351 | */\r | |
352 | "output": {\r | |
353 | "base": "${ext.dir}/build/examples/modern/oreilly",\r | |
354 | "appCache": {\r | |
355 | "enable": false\r | |
356 | }\r | |
357 | },\r | |
358 | \r | |
359 | /**\r | |
360 | * Controls for localStorage caching\r | |
361 | * "cache": {\r | |
362 | * // This property controls whether localStorage caching of this manifest file is on or off.\r | |
363 | * // if disabled no deltas will be generated during a build and full updates will be disabled\r | |
364 | * "enable": false,\r | |
365 | *\r | |
366 | * // This property allows for global toggle of deltas.\r | |
367 | * // If set to a string the value will be used as the path to where deltas will be generated relative to you build.\r | |
368 | * // If set to a Truthy Value the default path ok "deltas" will be used\r | |
369 | * // If set to a Falsey value or if this property is not present deltas will be disabled and not generated.\r | |
370 | * //\r | |
371 | * "deltas": "deltas"\r | |
372 | * }\r | |
373 | */\r | |
374 | "cache": {\r | |
375 | "enable": false,\r | |
376 | "deltas": false\r | |
377 | },\r | |
378 | \r | |
379 | /**\r | |
380 | * Used to automatically generate cache.manifest (HTML 5 application cache manifest)\r | |
381 | * file when you build.\r | |
382 | */\r | |
383 | "appCache": {\r | |
384 | /**\r | |
385 | * List of items in the CACHE MANIFEST section\r | |
386 | */\r | |
387 | "cache": [\r | |
388 | "index.html"\r | |
389 | ],\r | |
390 | /**\r | |
391 | * List of items in the NETWORK section\r | |
392 | */\r | |
393 | "network": [\r | |
394 | "*"\r | |
395 | ],\r | |
396 | /**\r | |
397 | * List of items in the FALLBACK section\r | |
398 | */\r | |
399 | "fallback": []\r | |
400 | },\r | |
401 | \r | |
402 | /**\r | |
403 | * Extra resources to be copied along when build\r | |
404 | */\r | |
405 | "resources": [\r | |
406 | "data"\r | |
407 | ],\r | |
408 | \r | |
409 | /**\r | |
410 | * File / directory name patttern to ignore when copying to the builds. Must be a\r | |
411 | * valid regular expression.\r | |
412 | */\r | |
413 | "ignore": [\r | |
414 | "(^|/)CVS(/?$|/.*?$)"\r | |
415 | ],\r | |
416 | \r | |
417 | /**\r | |
418 | * Directory path to store all previous production builds. Note that the content\r | |
419 | * generated inside this directory must be kept intact for proper generation of\r | |
420 | * deltas between updates.\r | |
421 | */\r | |
422 | "archivePath": "archive",\r | |
423 | \r | |
424 | /**\r | |
425 | * Additional resources used during theme slicing operations\r | |
426 | */\r | |
427 | "slicer": null,\r | |
428 | \r | |
429 | /**\r | |
430 | * Uniquely generated id for this application, used as prefix for localStorage keys.\r | |
431 | * Normally you should never change this value.\r | |
432 | */\r | |
433 | "id": "3a867610-670a-11e1-a90e-4318029d18b3"\r | |
434 | }\r |