]> git.proxmox.com Git - extjs.git/blame - extjs/examples/classic/simple-tasks/app.json
add extjs 6.0.1 sources
[extjs.git] / extjs / examples / classic / simple-tasks / app.json
CommitLineData
6527f429
DM
1{\r
2 /**\r
3 * The application's namespace.\r
4 */\r
5 "name": "SimpleTasks",\r
6\r
7 /**\r
8 * Comma-separated string with the paths of directories or files to search. Any classes\r
9 * declared in these locations will be available in your class "requires" or in calls\r
10 * to "Ext.require". The "app.dir" variable below is expanded to the path where the\r
11 * application resides (the same folder in which this file is located).\r
12 */\r
13 "classpath": "${app.dir}/app,${app.dir}/../ux",\r
14\r
15 /**\r
16 * The Sencha Framework for this application: "ext" or "touch".\r
17 */\r
18 "framework": "ext",\r
19\r
20 "toolkit": "classic",\r
21\r
22 /**\r
23 * The name of the theme for this application.\r
24 */\r
25 "theme": "theme-neptune",\r
26\r
27 /**\r
28 * The list of required packages (with optional versions; default is "latest").\r
29 *\r
30 * For example,\r
31 *\r
32 * "requires": [\r
33 * "charts"\r
34 * ]\r
35 */\r
36 "requires": [\r
37 "ux"\r
38 ],\r
39\r
40 /**\r
41 * Sass configuration properties.\r
42 */\r
43 "sass": {\r
44 /**\r
45 * The root namespace to use when mapping *.scss files to classes in the\r
46 * sass/src and sass/var directories. For example, "SimpleTasks.view.Foo" would\r
47 * map to "sass/src/view/Foo.scss". If we changed this to "SimpleTasks.view" then\r
48 * it would map to "sass/src/Foo.scss". To style classes outside the app's\r
49 * root namespace, change this to "". Doing so would change the mapping of\r
50 * "SimpleTasks.view.Foo" to "sass/src/SimpleTasks/view/Foo.scss".\r
51 */\r
52 "namespace": "SimpleTasks"\r
53 },\r
54\r
55 /**\r
56 * The file path to this application's front HTML document. This is relative\r
57 * to this app.json file.\r
58 */\r
59 "indexHtmlPath": "index.html",\r
60\r
61 /**\r
62 * The absolute URL to this application in development environment, i.e: the URL to run\r
63 * this application on your web browser, e.g: "http://localhost/SimpleTasks/index.html".\r
64 *\r
65 * This value is needed when build to resolve your application's dependencies if it\r
66 * requires server-side resources. This setting is only used if you enable dynamic\r
67 * resolution by setting "skip.resolve=0" (in .sencha/app/sencha.cfg) or if you\r
68 * invoke "sencha app resolve".\r
69 */\r
70 "url": null,\r
71\r
72 /**\r
73 * List of all JavaScript assets in the right execution order.\r
74 *\r
75 * Each item is an object with the following format:\r
76 *\r
77 * {\r
78 * // Path to file. If the file is local this must be a relative path from\r
79 * // this app.json file.\r
80 * //\r
81 * "path": "path/to/script.js", // REQUIRED\r
82 *\r
83 * // Set to true on one file to indicate that it should become the container\r
84 * // for the concatenated classes.\r
85 * //\r
86 * "bundle": false, // OPTIONAL\r
87 *\r
88 * // Set to true to include this file in the concatenated classes.\r
89 * //\r
90 * "includeInBundle": false, // OPTIONAL\r
91 *\r
92 * // Specify as true if this file is remote and should not be copied into the\r
93 * // build folder. Defaults to false for a local file which will be copied.\r
94 * //\r
95 * "remote": false, // OPTIONAL\r
96 *\r
97 * // If not specified, this file will only be loaded once, and cached inside\r
98 * // localStorage until this value is changed. You can specify:\r
99 * //\r
100 * // - "delta" to enable over-the-air delta update for this file\r
101 * // - "full" means full update will be made when this file changes\r
102 * //\r
103 * "update": "", // OPTIONAL\r
104 *\r
105 * // A value of true indicates that is a development mode only dependency.\r
106 * // These files will not be copied into the build directory or referenced\r
107 * // in the generate app.json manifest for the micro loader.\r
108 * //\r
109 * "bootstrap": false // OPTIONAL\r
110 * }\r
111 */\r
112 "js": [\r
113 {\r
114 "path": "app.js",\r
115 "bundle": true\r
116 }\r
117 ],\r
118\r
119 /**\r
120 * List of all CSS assets in the right inclusion order.\r
121 *\r
122 * Each item is an object with the following format:\r
123 *\r
124 * {\r
125 * // Path to file. If the file is local this must be a relative path from\r
126 * // this app.json file.\r
127 * //\r
128 * "path": "path/to/stylesheet.css", // REQUIRED\r
129 *\r
130 * // Specify as true if this file is remote and should not be copied into the\r
131 * // build folder. Defaults to false for a local file which will be copied.\r
132 * //\r
133 * "remote": false, // OPTIONAL\r
134 *\r
135 * // If not specified, this file will only be loaded once, and cached inside\r
136 * // localStorage until this value is changed. You can specify:\r
137 * //\r
138 * // - "delta" to enable over-the-air delta update for this file\r
139 * // - "full" means full update will be made when this file changes\r
140 * //\r
141 * "update": "" // OPTIONAL\r
142 * }\r
143 */\r
144 "css": [\r
145 {\r
146 "path": "bootstrap.css",\r
147 "bootstrap": true\r
148 }\r
149 ],\r
150\r
151 /**\r
152 * Used to automatically generate cache.manifest (HTML 5 application cache manifest) file when you build\r
153 */\r
154 "appCache": {\r
155 /**\r
156 * List of items in the CACHE MANIFEST section\r
157 */\r
158 "cache": [\r
159 "index.html"\r
160 ],\r
161 /**\r
162 * List of items in the NETWORK section\r
163 */\r
164 "network": [\r
165 "*"\r
166 ],\r
167 /**\r
168 * List of items in the FALLBACK section\r
169 */\r
170 "fallback": []\r
171 },\r
172\r
173 /**\r
174 * Extra resources to be copied along when build\r
175 */\r
176 "resources": [\r
177 {\r
178 "path": "resources"\r
179 }\r
180 ],\r
181\r
182 /**\r
183 * File / directory name matchers to ignore when copying to the builds, must be valid regular expressions\r
184 */\r
185 "ignore": [\r
186 "^\\.svn$",\r
187 "^\\.git$"\r
188 ],\r
189\r
190 /**\r
191 * Directory path to store all previous production builds. Note that the content generated inside this directory\r
192 * must be kept intact for proper generation of deltas between updates\r
193 */\r
194 "archivePath": "archive",\r
195\r
196 /**\r
197 * Additional resources used during theme slicing operations\r
198 */\r
199 "slicer": {\r
200 "js": [\r
201 {\r
202 "path": "${app.dir}/sass/example/custom.js",\r
203 "isWidgetManifest": true\r
204 }\r
205 ]\r
206 },\r
207 \r
208 /**\r
209 * override objects for setting build environment specific \r
210 * settings.\r
211 */\r
212 "production": {\r
213 },\r
214 \r
215 "testing": {\r
216 },\r
217 \r
218 "development": {\r
219 },\r
220 \r
221 /**\r
222 * Controls the name of the manifest file used by the microloader for\r
223 * dev and build modes\r
224 */\r
225 "manifest": {\r
226 "name": "app.json",\r
227 "bootstrap": "bootstrap.json"\r
228 },\r
229 \r
230 /**\r
231 * Controls the output directory for build resources. May be set with\r
232 * either a string:\r
233 * \r
234 * outputDir: ""\r
235 * \r
236 * or an object containing 5 possible values for various types of \r
237 * build artifacts:\r
238 * \r
239 * outputDir: {\r
240 * // this is the base of the output directory. all other paths\r
241 * // are relative to this\r
242 * base: ""\r
243 * \r
244 * // output dir for the index.html and manifest.json files.\r
245 * // defaults to base\r
246 * page:".",\r
247 *\r
248 * // output dir for compile js files. \r
249 * // defaults to base\r
250 * js: ".",\r
251 * \r
252 * // output dir for compiled app css content.\r
253 * // defaults to "resources" under the base location\r
254 * css: "./resources",\r
255 * \r
256 * // output dir for all other page resources (images, etc.)\r
257 * // defaults to the css location\r
258 * resources: ""\r
259 * }\r
260 *\r
261 */\r
262 "output": "${ext.dir}/build/examples/classic/simple-tasks",\r
263 \r
264 /**\r
265 * Uniquely generated id for this application, used as prefix for localStorage keys.\r
266 * Normally you should never change this value.\r
267 */\r
268 "id": "663b22d8-3bdf-4687-84f3-f590cf7a7741"\r
269}\r