]> git.proxmox.com Git - extjs.git/blame - extjs/examples/classic/neptune-components/app.json
add extjs 6.0.1 sources
[extjs.git] / extjs / examples / classic / neptune-components / app.json
CommitLineData
6527f429
DM
1{\r
2 /**\r
3 * The application's namespace.\r
4 */\r
5 "name": "Neptune",\r
6\r
7 /**\r
8 * The version of the application.\r
9 */\r
10 "version": "1.0.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,${toolkit.name}/src",\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,${toolkit.name}/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\r
43 "toolkit": "classic",\r
44\r
45\r
46 /**\r
47 * The name of the theme for this application.\r
48 */\r
49\r
50\r
51 "theme": "theme-neptune",\r
52\r
53\r
54 /**\r
55 * The list of required packages (with optional versions; default is "latest").\r
56 *\r
57 * For example,\r
58 *\r
59 * "requires": [\r
60 * "charts"\r
61 * ]\r
62 */\r
63 "requires": [\r
64 ],\r
65\r
66 /**\r
67 * Sass configuration properties.\r
68 */\r
69 "sass": {\r
70 /**\r
71 * The root namespace to use when mapping *.scss files to classes in the\r
72 * sass/src and sass/var directories. For example, "Neptune.view.Foo" would\r
73 * map to "sass/src/view/Foo.scss". If we changed this to "Neptune.view" then\r
74 * it would map to "sass/src/Foo.scss". To style classes outside the app's\r
75 * root namespace, change this to "". Doing so would change the mapping of\r
76 * "Neptune.view.Foo" to "sass/src/Neptune/view/Foo.scss".\r
77 */\r
78 "namespace": "Neptune",\r
79\r
80 /**\r
81 * Comma-separated list of files or folders containing extra Sass. These\r
82 * files are automatically included in the Sass compilation. By default this\r
83 * is just "etc/all.scss" to allow import directives to control the order\r
84 * other files are included.\r
85 *\r
86 * All "etc" files are included at the top of the Sass compilation in their\r
87 * dependency order:\r
88 *\r
89 * +-------+---------+\r
90 * | | base |\r
91 * | theme +---------+\r
92 * | | derived |\r
93 * +-------+---------+\r
94 * | packages | (in package dependency order)\r
95 * +-----------------+\r
96 * | application |\r
97 * +-----------------+\r
98 */\r
99 "etc": "sass/etc/all.scss,${toolkit.name}/sass/etc/all.scss",\r
100\r
101 /**\r
102 * Comma-separated list of folders containing Sass variable definitions\r
103 * files. These file can also define Sass mixins for use by components.\r
104 *\r
105 * All "var" files are included after "etc" files in the Sass compilation in\r
106 * roughly reverse dependency order:\r
107 *\r
108 * +-----------------+\r
109 * | application |\r
110 * +-------+---------+\r
111 * | | derived |\r
112 * | theme +---------+\r
113 * | | base |\r
114 * +-------+---------+\r
115 * | packages | (in package dependency order)\r
116 * +-----------------+\r
117 */\r
118 "var": "sass/var,${toolkit.name}/sass/var",\r
119\r
120 /**\r
121 * Comma-separated list of folders containing Sass rule files.\r
122 *\r
123 * All "src" files are included after "var" files in the Sass compilation in\r
124 * dependency order (the same order as "etc"):\r
125 *\r
126 * +-------+---------+\r
127 * | | base |\r
128 * | theme +---------+\r
129 * | | derived |\r
130 * +-------+---------+\r
131 * | packages | (in package dependency order)\r
132 * +-----------------+\r
133 * | application |\r
134 * +-----------------+\r
135 */\r
136 "src": "sass/src,${toolkit.name}/sass/src"\r
137 },\r
138\r
139 /**\r
140 * List of all JavaScript assets in the right execution order.\r
141 *\r
142 * Each item is an object with the following format:\r
143 *\r
144 * {\r
145 * // Path to file. If the file is local this must be a relative path from\r
146 * // this app.json file.\r
147 * //\r
148 * "path": "path/to/script.js", // REQUIRED\r
149 *\r
150 * // Set to true on one file to indicate that it should become the container\r
151 * // for the concatenated classes.\r
152 * //\r
153 * "bundle": false, // OPTIONAL\r
154 *\r
155 * // Set to true to include this file in the concatenated classes.\r
156 * //\r
157 * "includeInBundle": false, // OPTIONAL\r
158 *\r
159 * // Specify as true if this file is remote and should not be copied into the\r
160 * // build folder. Defaults to false for a local file which will be copied.\r
161 * //\r
162 * "remote": false, // OPTIONAL\r
163 *\r
164 * // If not specified, this file will only be loaded once, and cached inside\r
165 * // localStorage until this value is changed. You can specify:\r
166 * //\r
167 * // - "delta" to enable over-the-air delta update for this file\r
168 * // - "full" means full update will be made when this file changes\r
169 * //\r
170 * "update": "", // OPTIONAL\r
171 *\r
172 * // A value of true indicates that is a development mode only dependency.\r
173 * // These files will not be copied into the build directory or referenced\r
174 * // in the generate app.json manifest for the micro loader.\r
175 * //\r
176 * "bootstrap": false // OPTIONAL\r
177 * }\r
178 */\r
179 "js": [\r
180 {\r
181 "path": "app.js",\r
182 "bundle": true\r
183 }\r
184 ],\r
185\r
186 /**\r
187 * List of all CSS assets in the right inclusion order.\r
188 *\r
189 * Each item is an object with the following format:\r
190 *\r
191 * {\r
192 * // Path to file. If the file is local this must be a relative path from\r
193 * // this app.json file.\r
194 * //\r
195 * "path": "path/to/stylesheet.css", // REQUIRED\r
196 *\r
197 * // Specify as true if this file is remote and should not be copied into the\r
198 * // build folder. Defaults to false for a local file which will be copied.\r
199 * //\r
200 * "remote": false, // OPTIONAL\r
201 *\r
202 * // If not specified, this file will only be loaded once, and cached inside\r
203 * // localStorage until this value is changed. You can specify:\r
204 * //\r
205 * // - "delta" to enable over-the-air delta update for this file\r
206 * // - "full" means full update will be made when this file changes\r
207 * //\r
208 * "update": "" // OPTIONAL\r
209 * }\r
210 */\r
211 "css": [\r
212 {\r
213 "path": "${build.out.css.dir}/Neptune-all.css",\r
214 "bundle": true\r
215 }\r
216 ],\r
217\r
218 /**\r
219 * Used to automatically generate cache.manifest (HTML 5 application cache manifest) file when you build\r
220 */\r
221 "appCache": {\r
222 /**\r
223 * List of items in the CACHE MANIFEST section\r
224 */\r
225 "cache": [\r
226 "index.html"\r
227 ],\r
228 /**\r
229 * List of items in the NETWORK section\r
230 */\r
231 "network": [\r
232 "*"\r
233 ],\r
234 /**\r
235 * List of items in the FALLBACK section\r
236 */\r
237 "fallback": []\r
238 },\r
239\r
240 /**\r
241 * Extra resources to be copied along when build\r
242 */\r
243 "resources": [\r
244 {\r
245 "path": "resources"\r
246 }\r
247 ],\r
248\r
249 /**\r
250 * File / directory name patttern to ignore when copying to the builds. Must be a\r
251 * valid regular expression.\r
252 */\r
253 "ignore": [\r
254 "(^|/)CVS(/?$|/.*?$)"\r
255 ],\r
256\r
257 /**\r
258 * Directory path to store all previous production builds. Note that the content\r
259 * generated inside this directory must be kept intact for proper generation of\r
260 * deltas between updates.\r
261 */\r
262 "archivePath": "archive",\r
263\r
264 /**\r
265 * Additional resources used during theme slicing operations\r
266 */\r
267 "slicer": {\r
268 "js": [\r
269 {\r
270 "path": "${app.dir}/sass/example/custom.js",\r
271 "isWidgetManifest": true\r
272 }\r
273 ]\r
274 },\r
275\r
276 /**\r
277 * override objects for setting build environment specific \r
278 * settings.\r
279 */\r
280 "production": {\r
281 "output": {\r
282 "appCache": {\r
283 "enable": false\r
284 }\r
285 },\r
286 "cache": {\r
287 "enable": false\r
288 }\r
289 },\r
290\r
291 "testing": {\r
292 },\r
293\r
294 "development": {\r
295 },\r
296\r
297 /**\r
298 * Controls the name of the manifest file used by the microloader for\r
299 * dev mode\r
300 */\r
301 "bootstrap": {\r
302 "manifest": "${build.id}.json"\r
303 },\r
304\r
305 /**\r
306 * Controls the output directory for build resources. May be set with\r
307 * either a string:\r
308 * \r
309 * outputDir: ""\r
310 * \r
311 * or an object containing 5 possible values for various types of \r
312 * build artifacts:\r
313 * \r
314 * outputDir: {\r
315 * // this is the base of the output directory. all other paths\r
316 * // are relative to this\r
317 * base: ""\r
318 * \r
319 * // output dir for the index.html and manifest.json files.\r
320 * // defaults to base\r
321 * page:".",\r
322 *\r
323 * // output dir for compile js files. \r
324 * // defaults to base\r
325 * js: ".",\r
326 * \r
327 * // output dir for compiled app css content.\r
328 * // defaults to "resources" under the base location\r
329 * css: "./resources",\r
330 * \r
331 * // output dir for all other page resources (images, etc.)\r
332 * // defaults to the css location\r
333 * resources: ""\r
334 * }\r
335 *\r
336 */\r
337 "output": {\r
338 "base": "${ext.dir}/build/examples/classic/neptune-components/${build.id}",\r
339 "page": "../index.html",\r
340 "manifest": "../${build.id}.json",\r
341 "deltas": {\r
342 "enable": false\r
343 },\r
344 "appCache": {\r
345 "enable": false\r
346 }\r
347 },\r
348\r
349 /**\r
350 * Uniquely generated id for this application, used as prefix for localStorage keys.\r
351 * Normally you should never change this value.\r
352 */\r
353 "id": "007fe7a8-a601-4922-806a-d1f70390f14c",\r
354\r
355 "builds": {\r
356 "neptune": {\r
357 "theme": "theme-neptune"\r
358 },\r
359 "triton": {\r
360 "theme": "theme-triton"\r
361 },\r
362 "classic": {\r
363 "theme": "theme-classic"\r
364 },\r
365 "gray": {\r
366 "theme": "theme-gray"\r
367 }\r
368 }\r
369}\r