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