]> git.proxmox.com Git - sencha-touch.git/blob - src/examples/list-horizontal/.sencha/app/app.defaults.json
import Sencha Touch 2.4.2 source
[sencha-touch.git] / src / examples / list-horizontal / .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 "js": [
48 {
49 "path": "app.js",
50 "bundle": true
51 }
52 ],
53
54 /**
55 * List of all CSS assets in the right inclusion order.
56 *
57 * Each item is an object with the following format:
58 *
59 * {
60 * // Path to file. If the file is local this must be a relative path from
61 * // this app.json file.
62 * //
63 * "path": "path/to/stylesheet.css", // REQUIRED
64 *
65 * // Specify as true if this file is remote and should not be copied into the
66 * // build folder. Defaults to false for a local file which will be copied.
67 * //
68 * "remote": false, // OPTIONAL
69 *
70 * // If not specified, this file will only be loaded once, and cached inside
71 * // localStorage until this value is changed. You can specify:
72 * //
73 * // - "delta" to enable over-the-air delta update for this file
74 * // - "full" means full update will be made when this file changes
75 * //
76 * "update": "" // OPTIONAL
77 * }
78 */
79 "css": [
80 {
81 "path": "bootstrap.css",
82 "bootstrap": true
83 }
84 ],
85
86 /**
87 * Additional resources used during theme slicing operations
88 */
89 "slicer": {
90 "js": [
91 {
92 "path": "${app.dir}/sass/example/custom.js",
93 "isWidgetManifest": true
94 }
95 ]
96 },
97
98 /**
99 * override objects for setting build environment specific
100 * settings.
101 */
102 "production": {
103 },
104
105 "testing": {
106 },
107
108 "development": {
109 },
110
111 /**
112 * Controls the output directory for build resources. May be set with
113 * either a string:
114 *
115 * output: ""
116 *
117 * or an object containing values for various types of
118 * build artifacts:
119 *
120 * "output": {
121 * "base": "${workspace.build.dir}/${build.environment}/${app.name}",
122 * "page": {
123 * "path": "../index.html",
124 * "enable": false
125 * },
126 * "css": "${app.output.resources}/${app.name}-all.css",
127 * "js": {
128 * "path": "app.js",
129 * "enable": true,
130 * "optimize": {
131 * "defines": true,
132 * "callParent": true,
133 * "requires": true,
134 * }
135 * },
136 * "microloader": {
137 * "path": "microloader.js",
138 * "embed": true,
139 * "enable": true
140 * },
141 * "manifest": {
142 * "path": "app.json",
143 * "embed": false,
144 * "enable": "${app.output.microloader.enable}"
145 * },
146 * "resources": "resources",
147 * "slicer": {
148 * "path": "${app.output.resources}/images",
149 * "enable": false
150 * }
151 * }
152 *
153 */
154 "output": {
155 "base": "${workspace.build.dir}/${build.environment}/${app.name}"
156 },
157
158 /**
159 * This sets the default output folder for cordova packagers builds
160 *
161 * // Cordova Packager Config options
162 * "config": {
163 *
164 * // 'name' This is the name of your cordova application. This will default to your Sencha App name.
165 * // This is only used once during Cordova app creation and cannot be changed after.
166 * "name": "AppNameForCordova",
167 *
168 * // 'id' This will be your package name for Android and your Bundle Identifier for iOS
169 * // This is only used once during Cordova app creation and cannot be changed after
170 * "id": "com.domain.AppName",
171 *
172 * // 'platform' can be a platform or a space seperated list of platform (ios android)
173 * // platform supported on mac: ios, amazon-fireos, android, blackberry10, firefoxos
174 * // platform supported on win: wp7, wp8, windows8, amazon-fireos, android, blackberry10, firefoxos
175 * "platform": "ios"
176 *
177 * // 'verbose' This boolean will determine if all cordova commands will have verbose output or not.
178 * // to properly see this run sencha command with the '-info' flag like the following
179 * // sencha -info app run [buildname]
180 *
181 * // 'path' The path this builds cordova project should be created in.
182 * // This defaults to your {app.dir}/cordova
183 *
184 * // 'target' This is the target for emulator/simulator commands.
185 * // On Android is the name of your Android Virtual Device
186 * // For iOS it is one of the following:
187 * // "iPhone (Retina 3.5-inch)"
188 * // "iPhone (Retina 4-inch)"
189 * // "iPhone"
190 * // "iPad"
191 * // "iPad (Retina)"
192 *
193 */
194 "cordova": {
195 "config": {
196 "name": "${app.name}",
197 "id": "com.domain.${app.name}",
198 "verbose": false,
199 "target": "",
200 "path": "${app.dir}/cordova"
201 },
202 "js": [
203 {
204 "path": "cordova.js",
205 "remote": true,
206 "priority": 1000
207 }
208 ],
209 "microloader": "${app.config.dir}/microloader/testing.js",
210 "output": {
211 "base": "${app.cordova.config.path}/www",
212 "manifest": {
213 "embed": true
214 },
215 "deltas": {
216 "enable": false
217 },
218 "cache": {
219 "enable": false
220 }
221 }
222 },
223
224 /**
225 * This sets the default output folder for phonegap packagers builds
226 *
227 * // Phonegap Packager Config options
228 * "config": {
229 *
230 * // 'name' This is the name of your phonegap application. This will default to your Sencha App name.
231 * // This is only used once during Phonegap app creation and cannot be changed after.
232 * "name": "AppNameForCordova",
233 *
234 * // 'id' This will be your package name for Android and your Bundle Identifier for iOS
235 * // This is only used once during Phonegap app creation and cannot be changed after
236 * "id": "com.domain.AppName",
237 *
238 * // 'platform' a single platform to build, run or emulate
239 * // platform supported locally: android, ios, wp8, Blackberry 10
240 * // platform supported remotely: android, ios, wp8
241 * //"platform": "ios"
242 *
243 * // 'remote' This boolean will determine if the build should be run on Phonegap's remove server 'http://build.phonegap.com'
244 * // setting remote to true will attempt to build on the cloud.
245 * // 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)
246 * // phonegap.remote.username=myname@domain.com
247 * // phonegap.remote.password=mys3cr3tp@ssw0rd
248 *
249 * // 'verbose' This boolean will determine if all phonegap commands will have verbose output or not.
250 * // to properly see this run sencha command with the '-info' flag like the following
251 * // sencha -info app run [buildname]
252 *
253 * // 'path' The path this builds phonegap project should be created in.
254 * // This is only used once during Phonegap app creation if changed this will result in a new phonegap application being generated
255 * // This defaults to your {app.dir}/phonegap
256 *
257 */
258 "phonegap": {
259 "config": {
260 "name": "${app.name}",
261 "id": "com.domain.${app.name}",
262 "remote": false,
263 "verbose": false,
264 "path": "${app.dir}/phonegap"
265 },
266 "js": [
267 {
268 "path": "phonegap.js",
269 "remote": true,
270 "priority": 1000
271 }
272 ],
273 "microloader": "${app.config.dir}/microloader/testing.js",
274 "output": {
275 "base": "${app.phonegap.config.path}/www",
276 "manifest": {
277 "embed": true
278 },
279 "deltas": {
280 "enable": false
281 },
282 "cache": {
283 "enable": false
284 }
285 }
286 },
287
288 /**
289 * Controls the output structure of bootstrap artifacts. May be specified by a string:
290 *
291 * "bootstrap": "${app.dir}"
292 *
293 * to adjust the base path for all bootstrap objects, or expanded into object form:
294 *
295 * "bootstrap": {
296 * "base": "${app.dir},
297 * "manifest": "bootstrap.json",
298 * "microloader": "bootstrap.js",
299 * "css": "bootstrap.css"
300 * }
301 *
302 *
303 */
304 "bootstrap":{
305 "base": "${app.dir}"
306 }
307 }