]> git.proxmox.com Git - extjs.git/blame - extjs/examples/modern/addressbook/.sencha/app/app.defaults.json
add extjs 6.0.1 sources
[extjs.git] / extjs / examples / modern / addressbook / .sencha / app / app.defaults.json
CommitLineData
6527f429
DM
1{\r
2 /**\r
3 * The relative path to the appliaction's markup file (html, jsp, asp, etc.)\r
4 */\r
5 "indexHtmlPath": "index.html",\r
6\r
7 /**\r
8 * List of all JavaScript assets in the right execution order.\r
9 *\r
10 * Each item is an object with the following format:\r
11 *\r
12 * {\r
13 * // Path to file. If the file is local this must be a relative path from\r
14 * // this app.json file.\r
15 * //\r
16 * "path": "path/to/script.js", // REQUIRED\r
17 *\r
18 * // Set to true on one file to indicate that it should become the container\r
19 * // for the concatenated classes.\r
20 * //\r
21 * "bundle": false, // OPTIONAL\r
22 *\r
23 * // Set to true to include this file in the concatenated classes.\r
24 * //\r
25 * "includeInBundle": false, // OPTIONAL\r
26 *\r
27 * // Specify as true if this file is remote and should not be copied into the\r
28 * // build folder. Defaults to false for a local file which will be copied.\r
29 * //\r
30 * "remote": false, // OPTIONAL\r
31 *\r
32 * // If not specified, this file will only be loaded once, and cached inside\r
33 * // localStorage until this value is changed. You can specify:\r
34 * //\r
35 * // - "delta" to enable over-the-air delta update for this file\r
36 * // - "full" means full update will be made when this file changes\r
37 * //\r
38 * "update": "", // OPTIONAL\r
39 *\r
40 * // A value of true indicates that is a development mode only dependency.\r
41 * // These files will not be copied into the build directory or referenced\r
42 * // in the generate app.json manifest for the micro loader.\r
43 * //\r
44 * "bootstrap": false // OPTIONAL\r
45 * }\r
46 *\r
47 * To use ext-all-debug.js instead of explicitly loading all framework files at\r
48 * dev time, add the following entry to this js list :\r
49 *\r
50 * {\r
51 * "path": "${ext.dir}/build/ext-all-debug.js"\r
52 * }\r
53 *\r
54 * Note: when using ext-all-debug.js, you also need to disable the loadOrder portion\r
55 * of the bootstrap manifest. See the "bootstrap" property for details.\r
56 *\r
57 */\r
58 "js": [\r
59 {\r
60 "path": "app.js",\r
61 "bundle": true\r
62 }\r
63 ],\r
64\r
65 /**\r
66 * List of all CSS assets in the right inclusion order.\r
67 *\r
68 * Each item is an object with the following format:\r
69 *\r
70 * {\r
71 * // Path to file. If the file is local this must be a relative path from\r
72 * // this app.json file.\r
73 * //\r
74 * "path": "path/to/stylesheet.css", // REQUIRED\r
75 *\r
76 * // Specify as true if this file is remote and should not be copied into the\r
77 * // build folder. Defaults to false for a local file which will be copied.\r
78 * //\r
79 * "remote": false, // OPTIONAL\r
80 *\r
81 * // If not specified, this file will only be loaded once, and cached inside\r
82 * // localStorage until this value is changed. You can specify:\r
83 * //\r
84 * // - "delta" to enable over-the-air delta update for this file\r
85 * // - "full" means full update will be made when this file changes\r
86 * //\r
87 * "update": "" // OPTIONAL\r
88 * }\r
89 */\r
90 "css": [\r
91 {\r
92 // this entry uses an ant variable that is the calculated\r
93 // value of the generated output css file for the app,\r
94 // defined in .sencha/app/defaults.properties\r
95 "path": "${build.out.css.path}",\r
96 "bundle": true\r
97 }\r
98 ],\r
99\r
100 /**\r
101 * This option is used to configure the dynamic loader. At present these options\r
102 * are supported.\r
103 *\r
104 * "loader": {\r
105 * // This property controls how the loader manages caching for requests:\r
106 * //\r
107 * // - true: allows requests to receive cached responses\r
108 * // - false: disable cached responses by adding a random "cache buster"\r
109 * // - other: a string (such as the build.timestamp shown here) to allow\r
110 * // requests to be cached for this build.\r
111 * //\r
112 * "cache": "${build.timestamp}",\r
113 *\r
114 * // When "cache" is not true, this value is the request parameter used\r
115 * // to control caching.\r
116 * //\r
117 * "cacheParam": "_dc"\r
118 * },\r
119 *\r
120 */\r
121\r
122\r
123 /**\r
124 * "compressor": {\r
125 * "type": "closure",\r
126 * "languageIn": "ECMASCRIPT5"\r
127 * }\r
128 *\r
129 */\r
130 "compressor": null,\r
131\r
132 /**\r
133 * override objects for setting build environment specific\r
134 * settings.\r
135 */\r
136 "production": {\r
137 "compressor": {\r
138 "type": "yui"\r
139 }\r
140 },\r
141\r
142 "testing": {\r
143 },\r
144\r
145 "development": {\r
146 },\r
147\r
148\r
149 /**\r
150 * Controls the output structure of bootstrap artifacts. May be specified by a string:\r
151 *\r
152 * "bootstrap": "${app.dir}"\r
153 *\r
154 * to adjust the base path for all bootstrap objects, or expanded into object form:\r
155 *\r
156 * "bootstrap": {\r
157 * "base": "${app.dir},\r
158 * "manifest": "bootstrap.json",\r
159 * "microloader": "bootstrap.js",\r
160 * "css": "bootstrap.css"\r
161 * }\r
162 *\r
163 * To disable "loadOrder" metadata when using a framwork build file such as\r
164 * ext-all-debug.js, use the expanded form of the manifest property:\r
165 *\r
166 * "bootstrap": {\r
167 * "manifest": {\r
168 * "path": "bootstrap.json",\r
169 * "exclude": "loadOrder"\r
170 * }\r
171 * }\r
172 *\r
173 */\r
174 "bootstrap":{\r
175 "base": "${app.dir}"\r
176 },\r
177\r
178 /**\r
179 * Controls the output directory for build resources. May be set with\r
180 * either a string:\r
181 *\r
182 * output: ""\r
183 *\r
184 * or an object containing values for various types of\r
185 * build artifacts:\r
186 *\r
187 * "output": {\r
188 * "base": "${workspace.build.dir}/${build.environment}/${app.name}",\r
189 * "page": {\r
190 * "path": "../index.html",\r
191 * "enable": false\r
192 * },\r
193 * "css": "${app.output.resources}/${app.name}-all.css",\r
194 * "js": {\r
195 * "path": "app.js",\r
196 * "enable": true,\r
197 * "optimize": {\r
198 * "defines": true,\r
199 * "callParent": true,\r
200 * "requires": true,\r
201 * }\r
202 * },\r
203 * "microloader": {\r
204 * "path": "microloader.js",\r
205 * "embed": true,\r
206 * "enable": true\r
207 * },\r
208 * "manifest": {\r
209 * "path": "app.json",\r
210 * "embed": false,\r
211 * "enable": "${app.output.microloader.enable}"\r
212 * },\r
213 * "resources": "resources",\r
214 * "slicer": {\r
215 * "path": "${app.output.resources}/images",\r
216 * "enable": false\r
217 * },\r
218 * // Setting the "enable" property of this object to a Truthy value will cause a Application Cache\r
219 * // manifest file to be generated based on this files appCache object. This file will then be injected\r
220 * // into the index.html file of the built application\r
221 * "appCache":{\r
222 * "enable": false"\r
223 * }\r
224 * }\r
225 */\r
226 "output": {\r
227 "base": "${workspace.build.dir}/${build.environment}/${app.name}",\r
228 "appCache": {\r
229 "enable": false\r
230 },\r
231 "microloader": {\r
232 "enable": true\r
233 }\r
234 },\r
235\r
236 /**\r
237 * Controls for localStorage caching\r
238 * "cache": {\r
239 * // This property controls whether localStorage caching of this manifest file is on or off.\r
240 * // if disabled no deltas will be generated during a build and full updates will be disabled\r
241 * "enable": false,\r
242 *\r
243 * // This property allows for global toggle of deltas.\r
244 * // If set to a string the value will be used as the path to where deltas will be generated relative to you build.\r
245 * // If set to a Truthy Value the default path ok "deltas" will be used\r
246 * // If set to a Falsey value or if this property is not present deltas will be disabled and not generated.\r
247 * //\r
248 * "deltas": "deltas"\r
249 * }\r
250 */\r
251 "cache": {\r
252 "enable": false,\r
253 "deltas": "deltas"\r
254 },\r
255\r
256 /**\r
257 * This sets the default output folder for cordova packagers builds\r
258 *\r
259 * // Cordova Packager Config options\r
260 * "config": {\r
261 *\r
262 * // 'name' This is the name of your cordova application. This will default to your Sencha App name.\r
263 * // This is only used once during Cordova app creation and cannot be changed after.\r
264 * "name": "AppNameForCordova",\r
265 *\r
266 * // 'id' This will be your package name for Android and your Bundle Identifier for iOS\r
267 * // This is only used once during Cordova app creation and cannot be changed after\r
268 * "id": "com.domain.AppName",\r
269 *\r
270 * // 'platform' can be a platform or a space seperated list of platform (ios android)\r
271 * // platform supported on mac: ios, amazon-fireos, android, blackberry10, firefoxos\r
272 * // platform supported on win: wp7, wp8, windows8, amazon-fireos, android, blackberry10, firefoxos\r
273 * "platform": "ios"\r
274 *\r
275 * // 'verbose' This boolean will determine if all cordova commands will have verbose output or not.\r
276 * // to properly see this run sencha command with the '-info' flag like the following\r
277 * // sencha -info app run [buildname]\r
278 *\r
279 * // 'path' The path this builds cordova project should be created in.\r
280 * // This defaults to your {app.dir}/cordova\r
281 *\r
282 * // 'target' This is the target for emulator/simulator commands.\r
283 * // On Android is the name of your Android Virtual Device\r
284 * // For iOS it is one of the following:\r
285 * // "iPhone (Retina 3.5-inch)"\r
286 * // "iPhone (Retina 4-inch)"\r
287 * // "iPhone"\r
288 * // "iPad"\r
289 * // "iPad (Retina)"\r
290 *\r
291 */\r
292 "cordova": {\r
293 "config": {\r
294 "name": "${app.name}",\r
295 "id": "com.domain.${app.name}",\r
296 "verbose": false,\r
297 "target": "",\r
298 "path": "${app.dir}/cordova"\r
299 },\r
300 "js": [\r
301 {\r
302 "path": "cordova.js",\r
303 "remote": true,\r
304 "priority": 1000\r
305 }\r
306 ],\r
307 "microloader": "${app.config.dir}/Microloader.js",\r
308 "output": {\r
309 "base": "${app.cordova.config.path}/www",\r
310 "page": "index.html",\r
311 "manifest": "${build.id}.json",\r
312 "appCache": {\r
313 "enable": false\r
314 }\r
315 },\r
316 "cache": {\r
317 "enable": false\r
318 }\r
319 },\r
320\r
321 /**\r
322 * This sets the default output folder for phonegap packagers builds\r
323 *\r
324 * // Phonegap Packager Config options\r
325 * "config": {\r
326 *\r
327 * // 'name' This is the name of your phonegap application. This will default to your Sencha App name.\r
328 * // This is only used once during Phonegap app creation and cannot be changed after.\r
329 * "name": "AppNameForCordova",\r
330 *\r
331 * // 'id' This will be your package name for Android and your Bundle Identifier for iOS\r
332 * // This is only used once during Phonegap app creation and cannot be changed after\r
333 * "id": "com.domain.AppName",\r
334 *\r
335 * // 'platform' a single platform to build, run or emulate\r
336 * // platform supported locally: android, ios, wp8, Blackberry 10\r
337 * // platform supported remotely: android, ios, wp8\r
338 * //"platform": "ios"\r
339 *\r
340 * // 'remote' This boolean will determine if the build should be run on Phonegap's remove server 'http://build.phonegap.com'\r
341 * // setting remote to true will attempt to build on the cloud.\r
342 * // To properly use this one must set the following properties in there local.properties file (if this file does not exist create it in your app root)\r
343 * // phonegap.remote.username=myname@domain.com\r
344 * // phonegap.remote.password=mys3cr3tp@ssw0rd\r
345 *\r
346 * // 'verbose' This boolean will determine if all phonegap commands will have verbose output or not.\r
347 * // to properly see this run sencha command with the '-info' flag like the following\r
348 * // sencha -info app run [buildname]\r
349 *\r
350 * // 'path' The path this builds phonegap project should be created in.\r
351 * // This is only used once during Phonegap app creation if changed this will result in a new phonegap application being generated\r
352 * // This defaults to your {app.dir}/phonegap\r
353 *\r
354 */\r
355 "phonegap": {\r
356 "config": {\r
357 "name": "${app.name}",\r
358 "id": "com.domain.${app.name}",\r
359 "remote": false,\r
360 "verbose": false,\r
361 "path": "${app.dir}/phonegap"\r
362 },\r
363 "js": [\r
364 {\r
365 "path": "phonegap.js",\r
366 "remote": true,\r
367 "priority": 1000\r
368 }\r
369 ],\r
370 "microloader": "${app.config.dir}/Microloader.js",\r
371 "output": {\r
372 "base": "${app.phonegap.config.path}/www",\r
373 "page": "index.html",\r
374 "manifest": "${build.id}.json",\r
375 "appCache": {\r
376 "enable": false\r
377 }\r
378 },\r
379 "cache": {\r
380 "enable": false\r
381 }\r
382 },\r
383\r
384 /**\r
385 * Additional resources used during theme slicing operations\r
386 */\r
387 "slicer": {\r
388 "js": [\r
389 {\r
390 "path": "${app.dir}/sass/example/custom.js",\r
391 "isWidgetManifest": true\r
392 }\r
393 ],\r
394 "output": {\r
395 "appCache": {\r
396 "enable": false\r
397 }\r
398 },\r
399 "cache": {\r
400 "enable": false\r
401 }\r
402 },\r
403\r
404 /**\r
405 *\r
406 */\r
407 "fashion": {\r
408 "inliner": {\r
409 "enable": false\r
410 }\r
411 }\r
412\r
413 /**\r
414 * The manager config object is used by the sencha app publish command to deploy this application to sencha web application manager\r
415 * "manager": {\r
416 * // the space id for this application\r
417 * "id": 12345,\r
418 * // name of app in space deployments\r
419 * "name": "${app.name}",\r
420 * // space host\r
421 * "host": "https://api.space.sencha.com/json.rpc",\r
422 * // can be a zip file path, or a folder to be zipped and deployd to sencha space\r
423 * "file": "${app.output.base}",\r
424 * // These may be specified here, but are best specified in your user\r
425 * // ~/.sencha/cmd/sencha.cfg file\r
426 * "apiKey": "",\r
427 * "secret": ""\r
428 * }\r
429 */\r
430}\r